Sha256: 7c6d41760d946934bc50acde2d1e88ecf5f5b7a9f792fd14f2b1cb89cba94dac

Contents?: true

Size: 371 Bytes

Versions: 20

Compression:

Stored size: 371 Bytes

Contents

session = $client.session!

e = session.element "css selector", "html"
raise "text" unless e.text == ""
raise "property" unless e.property("innerHTML") == "<head></head><body></body>"
raise "attribute" unless e.attribute("innerHTML") == "<head></head><body></body>"
raise "tag" unless e.tag == "html"

raise "child" unless e.element("css selector", "body").tag == "body"

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
webdriver-0.19.0 e2e/element.rb
webdriver-0.18.0 e2e/element.rb
webdriver-0.17.0 e2e/element.rb
webdriver-0.16.0 e2e/element.rb
webdriver-0.15.0 e2e/element.rb
webdriver-0.14.0 e2e/element.rb
webdriver-0.13.0 e2e/element.rb
webdriver-0.12.0 e2e/element.rb
webdriver-0.11.1 e2e/element.rb
webdriver-0.11.0 e2e/element.rb
webdriver-0.10.0 e2e/element.rb
webdriver-0.9.1 e2e/element.rb
webdriver-0.9.0 e2e/element.rb
webdriver-0.8.0 e2e/element.rb
webdriver-0.7.0 e2e/element.rb
webdriver-0.6.4 e2e/element.rb
webdriver-0.6.3 e2e/element.rb
webdriver-0.6.2 e2e/element.rb
webdriver-0.6.0 e2e/element.rb
webdriver-0.5.0 e2e/element.rb