1. Phenomenon: Jenkins cannot call out the browser page when building selenium, and Jenkins reports an error when building selenium: selenium.common.exceptions WebDriverException: Message: unknown error: DevToolsActivePort file doesn’t exist
2. Troubleshooting: run the project code directly under the Jenkins working directory, call out the browser normally, and the use case execution is completed
3. Reason: after Jenkins is built, the default node for running automation cases is the master, and the processes running on the master are background processes, so you can’t see the browser running interface
4. Solution:
① build the project in a graph free way
② add a slave node to Jenkins and point the project construction node to slave
Read More:
- Solution to a Jenkins serious error recorded by automation platform
- Pod reports error “Back-off restarting failed container” solution
- Error connecting to master, – retry time: 60 retries: 86400
- MySQL master-slave replication. An error is reported when starting slave. Slave failed to initialize relay log info structure from the repository
- WindowsError: [Error 2] The system cannot find the file specified
- A solution to the problem that the number of nodes does not increase and the name of nodes is unstable after adding nodes dynamically in Hadoop cluster
- Unknown error: cannot find chrome binary when running selenium under Linux
- ERROR 2026 (HY000): SSL connection error: ASN: before date in the future
- Solve selenium error — unknown error: devtoolsactivport file doesn’t exist
- After the two hosts set up the master-slave replication of MySQL, the show slave status displays: last_ IO_ Error: error connecting to master ……
- Message: failed to decode response from marionette
- Solving windows error: [error 87] classification: problem summary
- Jenkins series installation and deployment in docker mode
- Mysql start slave error 1201 (HY000)
- Mac reports an error zsh: fork failed: resource temporarily unavailable (reasons and solutions)
- AttributeError: ‘WebDriver‘ object has no attribute ‘w3c‘
- The problem of master-slave database synchronization stop caused by MySQL deleting data
- MySQL operation and maintenance slave_ skip_ errors
- Hadoop datanode using JPS to view the solution that can’t be started
- Explain MySQL replication error 1032 & 1205