Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: waitForNumberOfTabs #4124

Merged
merged 1 commit into from Jan 15, 2024
Merged

feat: waitForNumberOfTabs #4124

merged 1 commit into from Jan 15, 2024

Conversation

kobenguyent
Copy link
Collaborator

Motivation/Description of the PR

waitForNumberOfTabs

Waits for number of tabs.

I.waitForNumberOfTabs(2);

Parameters

  • expectedTabs [number][20] expecting the number of tabs.
  • sec [number][20] number of secs to wait.

Returns void automatically synchronized promise through #recorder

Applicable helpers:

  • Playwright
  • Puppeteer
  • WebDriver

Type of change

  • 馃殌 New functionality

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@kobenguyent kobenguyent merged commit f41ac5a into 3.x Jan 15, 2024
13 checks passed
@kobenguyent kobenguyent deleted the feat-open-and-wait-for-tab branch January 15, 2024 10:12
@kobenguyent kobenguyent mentioned this pull request Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants