搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

when openning firefox V42 from Selenium with VBA it opens the Mozilla firstrun page not the passed in ie www.google.co.uk

  • 6 个回答
  • 2 人有此问题
  • 7 次查看
  • 最后回复者为 cloverdog

more options

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.

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)

more options

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

more options

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.

more options

cloverdog said

when using Selenium to start firefox

I don't know Selenium. Does it have settings?

more options

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.

more options

I've called the big guys to help you. Good luck.

more options

Thank you for your help Fred.