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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ajouter la possibilité de se connecter en début de parcours #60

Open
hrenaud opened this issue Jan 11, 2025 · 1 comment
Open

ajouter la possibilité de se connecter en début de parcours #60

hrenaud opened this issue Jan 11, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@hrenaud
Copy link
Collaborator

hrenaud commented Jan 11, 2025

await page.goto('https://www.example.com/login');

await page.type('#username', 'username');
await page.type('#password', 'password');

await page.click('#submit');

await page.waitForNavigation();

console.log('New Page URL:', page.url());

Todo

  1. Ajouter aux deux main commands ;
  2. Donner la main sur les ID d'éléments (les inputs username, password & submit bt),
  3. Avoir page de login, puis la page suivante est celle du début de parcours.

where

// in run.js
async function runCourse(urls, cliFlags, course = undefined) {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant