Skip to content

Commit

Permalink
Use same port in remote executor and service (#8255)
Browse files Browse the repository at this point in the history
Service for ie and command executor contain different ports if used Default in WebDriver ctor

Fixes #8253

Co-authored-by: David Burns <[email protected]>
  • Loading branch information
FrySabotage and AutomatedTester authored Apr 28, 2020
1 parent e766b5b commit 76e94e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/ie/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def __init__(self, executable_path='IEDriverServer.exe', capabilities=None,

RemoteWebDriver.__init__(
self,
command_executor='http://localhost:%d' % self.port,
command_executor=self.iedriver.service_url,
desired_capabilities=capabilities,
keep_alive=keep_alive)
self._is_remote = False
Expand Down

0 comments on commit 76e94e7

Please sign in to comment.