Browser is crashing while running tests in CI after updating chrome to 100. I see error ERR_INSUFFICIENT_RESOURCES in the browser wdio log. We are using webdriverIO v6 and docker. Selenoid to run tests inside docker container. Tests run fine if run locally. Any suggestion to fix this?
1
There are 1 best solutions below
Related Questions in GOOGLE-CHROME
- detect requests calls in a url similar to network in chrome dev tools
- Html File Input on Chrome for Android missing extension and mime type
- Angular multiple http requests chrome android
- Interact with chrome bookmarks outside of extensions
- Animation Blink not working properly on Chrome
- Can't use subdomain in Chrome using Apache (XAMPP)
- How to start Chrome Hosted App in window?
- Webpage - Font size of table items on mobile phone browsers changes
- Could Not Instantiate Mail Function - PHPMailer - With Attachments - Only Google Chrome
- Chrome print preview disable only link location in footer and header
- CSS spinner sequence not working smoothly in iOS Chrome?
- google chrome remove automatically td when it is not in table and tr
- selecting and using textPath elements in Chrome
- Can I create and publish extension to the Chrome Store from my website?
- How can I get a button on the side of a text box to be perfectly aligned all the time?
Related Questions in TESTING
- How does Robot's Telnet library work?
- Behat doesn't load extensions?
- Load additional CONFIG file with values
- rails controller test failing non-deterministicly wrt state leak (I think)
- Ordering tests using trial twisted
- Unexcepted failed Gavel/Dredd test
- How to use Jasmine and CucumberJS with Protractor
- Django login tests session problems
- How to mock specific RequireJs dependencies while unit testing
- Test case for WCF REST Service
- how to test this business logic
- Protractor - How to get first or last CHILD value
- Factory Not Registered in rspec but found in console
- Pick out certain lines from files
- Selenium stops running after click() function runs
Related Questions in AUTOMATION
- Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights
- Automating Telnet Scripts from .bat with a teamspeak instance
- schedule and automate sqoop import/export tasks
- Dynamic @Test generation in TestNG
- detecting a file downloaded in selenium java
- Can I automate auto-app installation on my Android device?
- C# Program automation - Program hangs/doesn't work
- Saving Excel workbook as PDF gives me an OLE error 800A03EC
- Appium-How to send SMS for login verification purpose during automation test
- How to maximize browser window with helium using Java?
- Appium iOS automation using Java : get element using accessibility Id?
- Looking to run automated jobs in .NET application
- How to click the back navigation button of the browser using helium?
- Firefox automatically choose certificate, without ui dialog
- Test class not found in selected project
Related Questions in CICD
- how to upload java application Jar or artifacts file into nexus server bin repo using github action workflow?
- ADO stages being skipped despite conditions being met
- error building image: error building stage: failed to execute command: waiting for process to exit: exit status 10
- Gitlab: How to generate release assets using Gitlab's CI/CD
- Gitlab CI/CD Variables for semantic-release and nexus
- How to loop in a Yaml file calling SQLFluff lint for each file that has changed
- GitHub Action "Host key verification failed"
- Getting 401 when trying to access NuGet sources
- Github Actions Error: Process completed with exit code 253
- Is there way to get Code coverage for classes which doesn't contain any unit test using OpenCover
- Getting logs filtered in Jenkins build using webhook trigger plugin
- Pipeline for Dependabot failing in Azure DevOps - "Bash exited with code '1' "
- Gitlab Ci Pipeline hinges when triggered by Tag Creation (self hosted gitlab)
- DeVOps Build Format Name
- GitHub actions not running in background when shell is cmd
Related Questions in WEBDRIVER-IO-V4
- How to run sql script from webdriverIO Tests
- Need help to extract the visible text in a Web Page
- Webdriverio 6 - How to right click at X and Y location
- While running webdriver IO codes returning Object Promises
- close a specific tab in browser window using web driver io
- how to use custom class names in WebDriverIO
- Browser is crashing in CI after updating chrome to 100. I see error ERR_INSUFFICIENT_RESOURCES in the browser log. We are using webdriverIO v6
- How to set environment variable to run webdriverIO script
- How to handle Iframe content using webdriverIO js and mocha
- I want to zoom in and out my browser using webdriverio can anyone help on this
- Webdriver-io: Querying Element Text with '=' Gives Errors in Browser Console
- Is there a way to return the worker number in concurrent browser executions?
- How to use variable inside a selector in webdriver io
- Not able to calculate the performance metrics in webdriverio devtools
- How to use Appium on Flutter Android app whose old code is in Native Android and new code in Flutter
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Old thread, but couldn't find an answer online, so hopefully it will be useful to someone struggling like me.
As the error says, chrome is low on resources. The default shared memory limit on docker containers is 64mb, and newer versions of chrome need beyond that if you're doing heavy tests. The solution for me was adding updating the
shm_sizevariable in docker.I'm guessing the same update would also work for a
webdriverIOcontainer2GB is quite a lot and I couldn't see chrome filling more than 100mb in my use case, but depending on what your browser is downloading, it might be different.
If that doesn't work check the memory/cpu usage on your docker container and update accordingly.