From b4c8f20b90d619569ef7b5d903a8cfab0f5c95af Mon Sep 17 00:00:00 2001 From: titusfortner Date: Fri, 24 Sep 2021 13:40:18 -0500 Subject: [PATCH] [rb] remove variable that's been unreachable since 2010 --- rb/lib/selenium/webdriver/remote/bridge.rb | 2 +- rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rb/lib/selenium/webdriver/remote/bridge.rb b/rb/lib/selenium/webdriver/remote/bridge.rb index f5b58e2fd42f6..6e88a391e1cac 100644 --- a/rb/lib/selenium/webdriver/remote/bridge.rb +++ b/rb/lib/selenium/webdriver/remote/bridge.rb @@ -25,7 +25,7 @@ class Bridge PORT = 4444 - attr_accessor :context, :http, :file_detector + attr_accessor :http, :file_detector attr_reader :capabilities # diff --git a/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb b/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb index dfe92fac67a5b..7229402d34e3e 100644 --- a/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb +++ b/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb @@ -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')