selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Handle OutOfMemoryError in remote driver

Open automationpi opened this issue 3 years ago • 1 comments

Fix for issue #10870 https://github.com/SeleniumHQ/selenium/issues/10870

  • OutOfMemoryError handle in RemoteWebDriver
  • OutOfMemoryError handle in NoClassDefFoundError

To isolate any remote error from a local issue.

Thanks for contributing to Selenium! A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines. Avoid large PRs, help reviewers by making them as simple and short as possible.

Description

Motivation and Context

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • [x] I have read the contributing document.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

automationpi avatar Aug 03 '22 17:08 automationpi

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 03 '22 17:08 CLAassistant

Codecov Report

Merging #10919 (63840d9) into trunk (c7be1be) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##            trunk   #10919   +/-   ##
=======================================
  Coverage   50.41%   50.41%           
=======================================
  Files          84       84           
  Lines        5473     5473           
  Branches      278      278           
=======================================
  Hits         2759     2759           
  Misses       2436     2436           
  Partials      278      278           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Aug 16 '22 05:08 codecov-commenter

Thanks for taking the time to put this together, @automationpi. However, I am closing this PR based on this comment.

diemol avatar Aug 16 '22 09:08 diemol