Tag Info

Hot answers tagged

3

Short answer: Yes it is a bad practise, unless you have a very very very good reason, do not use implicit wait. This Stack Overflow answers really puts the difference in great detail. I once had someone on my team who thought it was a good idea, until I started researching why all our tests had such a long starting time. Somewhere in our setup the implicit ...


2

data-href is an attribute of a HTML tag, try to use get_attribute method, something like: url = browser.find_element_by_xpath("//a").get_attribute("data-href") For more information see: http://selenium-python.readthedocs.org/en/latest/api.html#selenium.webdriver.remote.webelement.WebElement.get_attribute Or this for examples: ...


1

What you are overlooking is one simple fact: if solution what you half-proposed was feasible, Google engineers would be working to make it available for last few years. And in my experience they are VERY smart, it is futile to try to outsmart them (at least for me - maybe you are much smarter). Browsers ARE genuinely different, and packing all the ...



Only top voted, non community-wiki answers of a minimum length are eligible