Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make sure ElementHandle.waitForSelector is evaluated in the righ…
…t context (#7843) So it appears that all bindings are added to the secondary world and all evaluations are also running there. ElementHandle.evaluate is returning handles from the main world though. Therefore, we need to be careful and adopt handles to the right context before doing waitForSelector So it appears that all bindings are added to the secondary world and all evaluations are also running there. ElementHandle.evaluate is returning handles from the main world though. Therefore, we need to be careful and adopt handles to the right context before doing waitForSelector.
- Loading branch information
Showing
4 changed files
with
34 additions
and
26 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
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
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
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