M
M
Master Ruby2022-02-16 20:06:42
Python
Master Ruby, 2022-02-16 20:06:42

How to run Microsoft Edge in android using Selenium?

I know how to launch Chrome using Selenium, there is a link, here
A, here Edge also fails to start, it writes either that a binary file is needed, or it launches Edge on a PC, if it exists.

from msedge.selenium_tools import EdgeOptions
from msedge.selenium_tools import Edge


edge_options = EdgeOptions()
edge_options.use_chromium = True
edge_options.add_experimental_option("androidPackage", "com.android.msedge")
driver = Edge(executable_path="./msedgedriver", options=edge_options)
driver.get("https://bing.com")
time.sleep(1000)
driver.quit()

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question