I have set up a custom firefox profile and load it when selenium RC starts. The profile has firebug installed, and when I manually launch firefox with that profile, firebug is active. However, when selenium launches that profile, firebug is in the lower right, but it is not enabled. How can I ensure it is enabled at launch? OR, how can I enable it (javascript or ?) - I am using the Java API.
相关问题
- SQLite Storage in Firefox 3.0 +
- Writing a custom protocol handler portable on Fire
- setInterval doesn't slow down on inactive tab
- Get PostData as in FireBug
- CSS grid behaviour different in Chrome and Firefox
相关文章
- Firefox remembering radio buttons incorrectly
- CSS Firefox box-shadow and outline
- XML Parsing Error in Firefox developer console
- firefox ondrop event.dataTransfer is null after up
- CORS request did not succeed on Firefox but works
- Firebug console error HTTP 407 Proxy Authenticatio
- How to debug css inside different media queries wi
- Firefox duplicate cookie (Firefox bug?)
Here's what works for me in Python:
The way to do that is to open Firefox using your custom profile. Right-click on the Firebug icon and select "On for All Web Pages". Close Firefox and you should be good to go! That's how I do it.
If you create a new Firefox profile and assign it to your driver, you need to set the
extensions.firebug.allPagesActivation
value of the newly created firefox profile toon
.For example in Ruby, with Capybara:
See the documentation for Firebug Preferences
go to the firefox profile location (which is in your java / c# code) open firefox from that location. make all your required settings close and restart firefox browser this time with your webdriver. that's it, it solves your problem !!