Module: Selenium::WebDriver::DriverExtensions::HasContext
Relationships & Source Files | |
Defined in: | rb/lib/selenium/webdriver/common/driver_extensions/has_context.rb |
Instance Attribute Summary
- #context rw
-
#context=(value)
rw
Sets the context that
::Selenium
commands are running in using.
Instance Attribute Details
#context (rw)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_context.rb', line 36
def context @bridge.context end
#context=(value) (rw)
Sets the context that ::Selenium
commands are running in using
a {with} statement. The state of the context on the server is
saved before entering the block, and restored upon exiting it.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_context.rb', line 32
def context=(value) @bridge.context = value end