Skip to content

Commit

Permalink
[rb] remove variable that's been unreachable since 2010
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 24, 2021
1 parent 39dec02 commit b4c8f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/remote/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Bridge

PORT = 4444

attr_accessor :context, :http, :file_detector
attr_accessor :http, :file_detector
attr_reader :capabilities

#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def get_permission(name)
expect(get_permission('clipboard-read')).to eq('prompt')
expect(get_permission('clipboard-write')).to eq('granted')

driver.add_permissions('clipboard-read' => 'denied','clipboard-write' => 'prompt')
driver.add_permissions('clipboard-read' => 'denied', 'clipboard-write' => 'prompt')

expect(get_permission('clipboard-read')).to eq('denied')
expect(get_permission('clipboard-write')).to eq('prompt')
Expand Down

0 comments on commit b4c8f20

Please sign in to comment.