Adding profile walker to okc
This commit is contained in:
parent
641bbf7a7a
commit
bf4300e9be
3 changed files with 18 additions and 18 deletions
|
|
@ -204,4 +204,10 @@ class VisitsPage(BasePage):
|
|||
'date': visitor_timestamp
|
||||
})
|
||||
return visitors
|
||||
|
||||
class QuickMatchPage(BasePage):
|
||||
def get_id(self):
|
||||
element = self.parser.select(self.document.getroot(), '//*[@id="sn"]', method='xpath')[0]
|
||||
visitor_id = unicode(element.get('value'))
|
||||
return visitor_id
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue