Skip to content

Commit 9504017

Browse files
committed
adding similar changes to wpewebkit
1 parent 9687595 commit 9504017

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

py/selenium/webdriver/wpewebkit/service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ class Service(service.Service):
3737
:param env: (Optional) Mapping of environment variables for the new process, defaults to `os.environ`.
3838
"""
3939

40+
_service_args: list[str]
41+
4042
def __init__(
4143
self,
4244
executable_path: str = DEFAULT_EXECUTABLE_PATH,

py/selenium/webdriver/wpewebkit/webdriver.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@
2828
class WebDriver(RemoteWebDriver):
2929
"""Controls the WPEWebKitDriver and allows you to drive the browser."""
3030

31+
service: Service
32+
3133
def __init__(
3234
self,
33-
options=None,
35+
options: Optional[Options] = None,
3436
service: Optional[Service] = None,
3537
):
3638
"""Creates a new instance of the WPEWebKit driver.

0 commit comments

Comments
 (0)