Fix wrong calling of selenium driver function
Selenium docstrings define the usage of this function to be called as driver.current_url but integration tests call it in wrong way as driver.current_url() which throws an error if you try to use it that way. Read the bug for detailed info on this and its source. Change-Id: I9b065ffb495b637dfe4582edf4aa216a833d5058 Partially implements blueprint: selenium-integration-testing Closes-Bug: #1404379
This commit is contained in:
parent
605ac27397
commit
b9f6fc1630
@ -34,7 +34,7 @@ class PageObject(basewebobject.BaseWebObject):
|
||||
return True
|
||||
|
||||
def get_url_current_page(self):
|
||||
return self.driver.current_url()
|
||||
return self.driver.current_url
|
||||
|
||||
def close_window(self):
|
||||
return self.driver.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user