Closed spooning closed 9 years ago
_Originally submitted to Google Code by adrianupton on 2 Oct 2013
Further investigation:
Error in C:\PYTHON27\lib\site-packages\Selenium2Library\locators\windowmanager.py on line 96 Error in C:\PYTHON27\lib\site-packages\Selenium2Library\webdrivermonkeypatches.py on line 26
def get_current_window_info(self):
atts = self.execute_script("return [ window.id, window.name,document.title, document.url ];")
atts = [ att if att is not None and len(att) else 'undefined'
for att in atts ] <----- Exception Raised here
return (self.current_window_handle, atts[0], atts[1], atts[2], atts[3]
Originally submitted to Google Code by @jussimalinen on 13 Aug 2015
We are moving Selenium Library to github and creating a last release with Robot 2.9 support before stopping the support of this project entirely.
As this project is deprecated, moving to Selenium2Library is necessary for further support and development.
Explain the defect you encountered either using free text or steps. Mention:
the expected and actual results. 1)Logged into gmail 2)selected an email 3) clicked a button in the email (acceptance)
At this stage a new browser window opens
I need to switch to this new browser window
I have tried running the following:
Get Window Identifiers
Select Window url=https://dev2.workshare.com/sign_ups/yIGYIIu2piFZtOmOPwll/edit
both give the following exception:
TypeError: object of type 'WebElement' has no len()
windows 8 Firefox 20.0.1 Selenium2Library 1.4 Python 2.7.5 Selenium 2.35 Robotframework 2.8.1