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:
- solve selenium.common.exceptions .ElementNotInteractableException: Message: element not interactable
- Solve selenium error — unknown error: devtoolsactivport file doesn’t exist
- Unknown error: cannot find chrome binary when running selenium under Linux
- Python + selenium drop-down list error message: element not interactive
- Summary of common runtimeException exceptions
- Using selenium server- standalone.jar Console error: unknown error: cannot get automation extension solution
- One of the configured repositories failed (Unknown), and yum doesn’t have enough cached data to cont
- Fedora32 start container error – OCI runtime create failed: This version of runc doesn’t work on cgroups V2: unknown
- Installation failed with message Invalid File
- Common cases of ad reporting an error as unknown pin
- MySQL password setting error message: error 1054 (42s22): unknown column ‘password’ in ‘field list’
- Android error installation failed with message invalid file
- Installation failed with message Invalid File:
- JSP exception message invalid TLD file
- [Solved] The error message of the persistent file is not configured
- Docker load loading mirror message JSON no such file or directory error
- An error is reported when logging into mysql. The error message is error 1049 (42000): unknown database ‘XXXXXX’
- Unknown error in POM file of springboot project
- Error: php56w-common conflicts with php-common-5.3.3-48.el6_ 8.x86_ 64
- Selenium driver chrome failed to start and reported an error