Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicitly wait in switching frame #3521

Closed
Uckpa opened this issue Feb 16, 2017 · 1 comment
Closed

Implicitly wait in switching frame #3521

Uckpa opened this issue Feb 16, 2017 · 1 comment

Comments

@Uckpa
Copy link

Uckpa commented Feb 16, 2017

OS:
Ubuntu 16.04 LTS
Windows 8

Browser:
firefox --version
Mozilla Firefox 51.0.1
Mozilla Firefox 51.0.1(Nigthly windows)

Selenium Version:
geckodriver-v0.14.0-linux32
geckodriver-v0.13.0-linux32
geckodriver-v0.13.0-win32

I got one finding that if we use:

self.driver.implicitly_wait(30)

It works fine when to find and element, can take minimum 0 second to maximum 30 seconds. but in case of switching frame(window) it takes total maximum 30 seconds , means it always wait 30 before switching to frame.

e.g.
self.driver = webdriver.Firefox()
self.driver.implicitly_wait(30)
self.driver.get('https://somedomain.com')
self.driver.switch_to.frame('main')
self.driver.find_element_by_css_selector("[name=id]").send_keys('test')
self.driver.find_element_by_css_selector("[name=password]").send_keys('test')
self.driver.find_element_by_css_selector("[name=submit]").click()
self.driver.switch_to_default_content()

Thanks,
Andrey

@barancev
Copy link
Member

barancev commented Mar 3, 2017

Please log this issue with Mozilla:
https://bugzilla.mozilla.org/buglist.cgi?product=Testing&component=Marionette

@barancev barancev closed this as completed Mar 3, 2017
@lock lock bot locked and limited conversation to collaborators Aug 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants