Commit fc2ba9c4 authored by Shengfa Lin's avatar Shengfa Lin Committed by Chromium LUCI CQ

[chromedriver] Pass in None in requestCrash

ChromeDriver python expecting pid in constructor

Bug: chromedriver:3681
Change-Id: Icb1e56720ca3c8231442628254f965d675df1696
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2592807Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Commit-Queue: Shengfa Lin <shengfa@google.com>
Cr-Commit-Position: refs/heads/master@{#837119}
parent a54ad588
......@@ -364,7 +364,7 @@ class ChromeDriver(object):
# Can't issue a new command without session_id
if not hasattr(self, '_session_id') or self._session_id == None:
return
tempDriver = ChromeDriver(self._server_url,
tempDriver = ChromeDriver(self._server_url, None,
debugger_address=self.debuggerAddress, test_name='_forceCrash')
try:
tempDriver.SendCommandAndGetResult("Page.crash", {})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment