Method: Selenium::Client::GeneratedDriver#highlight

Defined in:
lib/selenium/client/legacy_driver.rb

#highlight(locator) ⇒ Object

Briefly changes the backgroundColor of the specified element yellow. Useful for debugging.

‘locator’ is an element locator



947
948
949
# File 'lib/selenium/client/legacy_driver.rb', line 947

def highlight(locator)
    remote_control_command("highlight", [locator,])
end