user3029936
user3029936

Reputation: 11

How do you switch between windows in IE with SeleniumLibrary in RobotFramework?

This is the error I am getting when I use the keyword Select Window to switch from my main window to the new window that opens when I click a link: ERROR: Could not find window with title (Title of the webpage)

I am absolutely positive that the title I am using is correct; I got it straight from the HTML code.

Does anyone have any ideas about what the problem could be?

Upvotes: 1

Views: 1804

Answers (1)

ombre42
ombre42

Reputation: 2384

I have noticed there is a delay in a new window being "visible" to Selenium with Internet Explorer. To work around this, you could create a user keyword using Get Window Titles and Wait Until Keyword Succeeds to wait for the window to be "visible" to Selenium.

Upvotes: 2

Related Questions