D
D
doktorfish00782021-04-19 02:49:36
Python
doktorfish0078, 2021-04-19 02:49:36

How to add Firefox browser to Selenium application so that it works even for those who don't have Mozilla browser?

I am making an application for autocomplete google forms in python 3.7 + selenium. Initially, I used PhantomJS as a web driver, it is good in Js + does not require any browsers for its work, but when building the project in exe, when the application starts, the PhantomJS console opens, which is somehow not very beautiful. I tried to solve this problem, but did not find a solution and switched to Geckodriver from mozila. But now it's a different story. Both Geckodriver and Chromedriver need a browser to work. But what if I want to distribute this application? Not everyone has a Firefox browser! I can't solve this problem. I tried to add a portable version to the project and specify the path to its binary, but geckodriver does not perceive it in any way.
How to proceed?

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