when openning firefox V42 from Selenium with VBA it opens the Mozilla firstrun page not the passed in ie www.google.co.uk
Using Firefox V42. I am new to Selenium using latest version and have tried various calls to open the web page such as
Dim driver As New SeleniumWrapper.WebDriver driver.Start "firefox", "www.google.co.uk/"
It opens the Firefox screen that is shown after initial installation. The address it goes to is always "https://www.mozilla.org/en-GB/firefox/42.0/firstrun/learnmore/". There are no customisations for example the bookmarks toolbar isnt shown. However when starting from my desktop shortcut this and all other customisations are shown and my home page is always www.google.co.uk as per my preference.
Thank you for your time.
所有回复 (6)
Let's start with this;
https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save
Note: Some software, like Advanced SystemCare with Surfing Protection, can protect files in the Firefox profile folder against changes. If you have such software then check the settings or uninstall this software.
This is what I use as a desktop shortcut. http://www.movies.com/movie-times/06426-movie-times
If Firefox is not your default brouser, use something like this; C:\PROGRA~2\MOZILL~1\firefox.exe http://comicskingdom.com
thank you for replying. Firefox saves preferences without any problem. The trouble is when using Selenium to start firefox to automate browsing Firefox opens with the initial screen seen after a new install. Opening normally is fine i see all shortcuts and toolbars as expected.
I have tried turning off firewall protection etc but still the same splash page is shown.
Selenium is a driver that can automate browsing in Firefox so that MS Excel etc. can control Firefox through its own automation via VBA. It may be a compatability issue but i am new to this sftware too so thought i would ask for general help.
I've called the big guys to help you. Good luck.
Thank you for your help Fred.