Skip to content

Commit

Permalink
[rb] add additional context to logs when executing atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 10, 2019
1 parent 0c442a7 commit 217ec34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rb/lib/selenium/webdriver/remote/w3c/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ def element_tag_name(element)
end

def element_attribute(element, name)
WebDriver.logger.info "Using script for :getAttribute of #{name}"
execute_atom :getAttribute, element, name
end

Expand Down Expand Up @@ -506,6 +507,7 @@ def element_selected?(element)
end

def element_displayed?(element)
WebDriver.logger.info 'Using script for :isDisplayed'
execute_atom :isDisplayed, element
end

Expand Down

0 comments on commit 217ec34

Please sign in to comment.