Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="class1" style="width: 309px;">
- <div class="sPb-a">
- <div class="class2" style="display: none;" aria-hidden="true">
- www.lol.com
- </div>
- <input class="class3" type="text" dir="ltr" style="width: 301px;"></input>
- </div>
- <div></div>
- </div>
- elem = browser.find_element_by_xpath("//input[@style='width: 301px;']")
- elem.clear()
- time.sleep(1)
- elem.send_keys('lol')
- time.sleep(1)
- Element is not currently visible and so may not be interacted with
- Stacktrace:
- at fxdriver.preconditions.visible (file:///tmp/tmpma637_/extensions/fxdriver@googlecode.com/components/command-processor.js:9982)
- at DelayedCommand.prototype.checkPreconditions_ (file:///tmp/tmpma637_/extensions/fxdriver@googlecode.com/components/command-processor.js:12626)
- at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpma637_/extensions/fxdriver@googlecode.com/components/command-processor.js:12643)
- at DelayedCommand.prototype.executeInternal_ (file:///tmp/tmpma637_/extensions/fxdriver@googlecode.com/components/command-processor.js:12648)
- at DelayedCommand.prototype.execute/< (file:///tmp/tmpma637_/extensions/fxdriver@googlecode.com/components/command-processor.js:12590)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement