-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated Playwright keywords (#3503)
We missed a major release of `robotframework-browser` ([v15]), which removed the deprecated `execute_javascript` keyword. This resulted in test failures that we initially believed were timeout related because the `AttributeError` was being cought by the bare `except` and re-raised with an misleading error message. This commit resolves the falures by: 1. Switching to the `evaluate_javascript` keyword 2. Raising the timeout exception using the `raise ... from exc` [v15]: https://github.com/MarketSquare/robotframework-browser/releases/tag/v15.0.0
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters