1. Open the selenium-server.jar with WinRAR;
2. Search for two directories: customprofiledircustffchrome and customprofiledircustff;
3. Search for each directory until you find the file install. RDF, decompress it to a temporary directory, and edit the following line: JavaCode
- <Em: maxversion>2.0.0. * </Em: maxversion>
Change to Java code
- : <Em: maxversion>4.0.0. * </Em: maxversion>
Now you can use "* Firefox" in selenium.
When "* Firefox" is used, the pop-up Firefox may be a restricted version, firebug and other additional components cannot be used because of "insecure Certificates", which is very inconvenient for development, the following is a solution: Change "* Firefox" to Java code.
- * Custom c: \ Program Files \ Mozilla Firefox \ firefox.exe
Although you can use firefox3 for testing now, when you run testcase, The 404 error will certainly occur. Check the URL and the primary domain name displayed is Google, but Google does not have this webpage, so you can set a proxy to solve this problem: Java code
- HTTP Proxy: localhost Port:4444
The proxy points to the local selenium-server. The port is the default port of the server.