Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ServiceBuilder equivalent for IE (Node) #5983

Closed
JoshuaKGoldberg opened this issue Jun 3, 2018 · 1 comment
Closed

Missing ServiceBuilder equivalent for IE (Node) #5983

JoshuaKGoldberg opened this issue Jun 3, 2018 · 1 comment

Comments

@JoshuaKGoldberg
Copy link

Meta -

OS: Windows 10
Selenium Version: selenium-webdriver@4.0.0-alpha.1
Browser: Internet Explorer
Browser Version: 11

Expected Behavior -

I'd like to configure a custom driver location for IEDriverServer.exe. Other browsers export a ServiceBuilder you can use:

const seleniumFirefox = require("selenium-webdriver/firefox");

builder.setFirefoxService(new seleniumFirefox.ServiceBuilder("./path/to/geckoDriver.exe"));

Actual Behavior -

No equivalent ServiceBuilder class or method that allows a custom path to IEDriverServer.exe is provided.

locateSynchronously only allows checking for the user's path.

Relevant: https://stackoverflow.com/questions/35587825/internet-explorer-driver-without-the-need-of-path-variable

@jleyba
Copy link
Contributor

jleyba commented Jun 4, 2018

I could throw something together, but I don't have access to Windows to properly test the change. I would happily review a pull request though :)

jleyba pushed a commit that referenced this issue Aug 3, 2018
* Added a basic ServiceBuilder for Internet Explorer

Adds it to IE's `Driver` and allows it to be specified with a new `setIeService` in the general `Builder`.

Fixes #5983

* Added IE service
grigaman pushed a commit to grigaman/selenium that referenced this issue Sep 20, 2018
* Added a basic ServiceBuilder for Internet Explorer

Adds it to IE's `Driver` and allows it to be specified with a new `setIeService` in the general `Builder`.

Fixes SeleniumHQ#5983

* Added IE service
@lock lock bot locked and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants