Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
443 views
by Contributing Tester (92 points)
edited by

Please look at code snippet below

//implicit wait here

driver = webdriver.Firefox()

driver.get("https://www.website-test.com")

search_field = driver.find_element_by_xpath("//*[@id="term']")
search_field.send_keys("some text")
search_field.submit()

for i in range(10):
print(str(driver.execute_script("return document.readyState")))
sleep(0.1)

driver.quit()

by The go-to Tester (181 points)
Can you please let us know what language are you using?
What is the problem you are facing or what is the expected output and what is actual?
by Contributing Tester (92 points)
moved by
It is Fluentelenium
by
Post the exact error or brief your problem.

Please log in or register to answer this question.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...