You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use following code to type in URL bar but seems like it's not working.
I have one usecase. Our company implemented one feature like open browser and type "company name" and space in address bar it will automatic setup company all site and whatever we type then after regarding information it will listed out on page.
So I am trying to open blank web page and type company name and space but seems like it's not working with address bar.
@hemanshurana Playwright only automates web page, not the browser UI. Therefore, page.keyboard does not type in the url bar - this is out of scope of Playwright.
Trying to use following code to type in URL bar but seems like it's not working.
I have one usecase. Our company implemented one feature like open browser and type "company name" and space in address bar it will automatic setup company all site and whatever we type then after regarding information it will listed out on page.
So I am trying to open blank web page and type company name and space but seems like it's not working with address bar.
test('has title', async ({ page }) => { await page.goto('https://playwright.dev/'); await page.keyboard.press('Control+d'); await page.keyboard.type('https://www.microsoft.com/en-us/'); await page.keyboard.press('Enter'); });
I don't know if anything we need to extra configuration in config file or import something that can enable to use keyboard
The text was updated successfully, but these errors were encountered: