Skip to content

Commit 0d8a1ac

Browse files
committed
flake8 fixes
1 parent 9aa6642 commit 0d8a1ac

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

py/selenium/webdriver/safari/remote_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ def __init__(self, remote_server_addr, keep_alive=True):
2424

2525
self._commands["GET_PERMISSIONS"] = ('GET', '/session/$sessionId/apple/permissions')
2626
self._commands["SET_PERMISSIONS"] = ('POST', '/session/$sessionId/apple/permissions')
27-
self._commands["ATTACH_DEBUGGER"] = ('POST', '/session/$sessionId/apple/attach_debugger')
27+
self._commands["ATTACH_DEBUGGER"] = ('POST', '/session/$sessionId/apple/attach_debugger')

py/selenium/webdriver/safari/webdriver.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17+
from selenium.common.exceptions import WebDriverException
1718

1819
try:
1920
import http.client as http_client
@@ -25,6 +26,7 @@
2526
from .service import Service
2627
from .remote_connection import SafariRemoteConnection
2728

29+
2830
class WebDriver(RemoteWebDriver):
2931
"""
3032
Controls the SafariDriver and allows you to drive the browser.

0 commit comments

Comments
 (0)