[rb] add additional context to logs when executing atoms
@@ -459,6 +459,7 @@ module Selenium
end
def element_attribute(element, name)
+ WebDriver.logger.info "Using script for :getAttribute of #{name}"
execute_atom :getAttribute, element, name
end
@@ -506,6 +507,7 @@ module Selenium
end
def element_displayed?(element)
+ WebDriver.logger.info 'Using script for :isDisplayed'
execute_atom :isDisplayed, element
end
