@admins This should probably been put in the SeleniumLibrary subcategory rather than the Browser subcategory
Hi @Bhavnasewani,
As Edge is a relatively new browser it doesn’t seem to get included in any of the documentation for seleniumlibrary, but I believe it should be similar to the chrome examples in Open Browser
if you scroll down to the section about passing options to the webdriver you see an example python code to return some custom chrome options, I would expect you need to do the same type of thing, though there is also a string format and as you only need to pass one option (BinaryLocation) I would try the string format first.
From reading over all the documentation I think what you need is something like this:
Open Browser https://www.microsoft.com Edge options=binary_location="C:/path/to/your/webview2/project.exe"
If you really want to use the windows style backslash you’ll need to escape them:
Open Browser https://www.microsoft.com Edge options=binary_location="C:\\path\\to\\your\\webview2\\project.exe"
unix style forward slashes do work in windows and make life easier as you don’t need to escape the escape characters when passing them through, not sure if that will be needed here.
If this doesn’t work then you’ll probably need to try the python method, let us know if you need help with that.
Hopefully this helps,
Dave.