webautomation Questions
4
I am using the C# Language Bindings of Playwright.
Example HTML:
<select id="txtType" name="Type" class="form-control">
<option>Blog Posts</option>
...
Vomiturition asked 11/2, 2021 at 13:29
4
I'm using Playwright to upload a file and download the result. When the inputfiles are large, and it takes a long time to process I get a timeout from playwright; it takes to long for the button &q...
Sacerdotal asked 6/7, 2022 at 11:4
6
How to open the new tab using Playwright (ex. click the button to open the new section in a new tab)
I am looking for a simpler solution to a current situation. For example, you open the google (any another website) and you want BY CLICK on the button (ex. Gmail) - open this page in the new tab us...
Haim asked 9/10, 2020 at 9:19
4
Is it possible to connect a browser to puppeteer without instantiating it in puppeteer? For example, running an instance of chromium like a regular user and then connecting that to an instance of p...
Zoochemistry asked 11/3, 2019 at 7:11
3
What is the right query selector to grab all the tags, and iterate, in order to capture table data? The below query selectors are failing to find the elements in the DOM. Thank you in advance 🙏
co...
Chinaware asked 21/3, 2021 at 18:40
3
Solved
I am using the exposeFunction-command in the following manner:
await this.page.exposeFunction('foo', function(){ return 'bar'; });
This works as intended and gives me the window.foo-function.
I...
Alfreda asked 2/12, 2019 at 11:16
3
Solved
Is it possible to disable downloads for specific mime type. For example navigating to an url that by default will download a zip archive, should do nothing.
Edit:
I don't know in advance what ur...
Stogner asked 15/2, 2019 at 13:24
5
I want to use chrome instead of chromium. I can achieve the same in puppeteer by providing executable path. In playwright it doesn't work as browser type argument supports only 'chromium, webkit, f...
Defroster asked 9/6, 2020 at 11:45
2
Solved
How do I focus on the newly opened tab in puppeteer? I click an element on the page that opens up a new tab and then puppeteer stays focused on the page that was just left for some reason. How can ...
Dowie asked 3/8, 2020 at 20:48
3
Solved
I want to use Puppeteer to respond to page updates.
The page shows items and when I leave the page open new items can appear over time.
E.g. every 10 seconds a new item is added.
I can use the fol...
Cresset asked 9/1, 2019 at 11:27
5
Solved
I'm trying to learn the Python version of Playwright. See here
I would like to learn how to locate an element, so that I can do
things with it. Like printing the inner HTML, clicking on it and such...
Margravine asked 11/10, 2020 at 11:9
11
I am attempting to work with Selenium in Python. However, I do not know what to do given the below from https://pypi.python.org/pypi/selenium
Selenium requires a driver to interface with the chose...
Courageous asked 16/12, 2016 at 19:11
13
Solved
In the below code i cannot send password keys in the password field, i tried clicking the field, clearing the field and sending the keys. But now working in any of the method. But its working if i ...
Murry asked 19/7, 2017 at 7:32
2
Solved
I am trying to capture json response using playwright. I keep on getting Promise pending. However under headless:false mode i can see the data is being received and populated on the browser. I have...
Aishaaisle asked 9/4, 2021 at 10:23
2
Solved
I want to open multiple urls at once using Playwright for Python. But I am struggling to figure out how. This is from the async documentation:
async def main():
async with async_playwright() as p:...
Stent asked 3/11, 2020 at 14:8
3
Solved
Using PuppeteerSharp, I am trying to get the text of the element.
ElementHandle elementHandle = await page.XPathAsync("//html/body/div[1]/section/div/section/h2")[0];
Now that I have the...
Proficient asked 4/8, 2021 at 21:55
5
Solved
I'm new to WATIR testing (and do I love it!) and have run into a wall on how to refocus my WATIR script to a newly opened window.. Here's my (simplified) script....
#!/usr/bin/ruby
require 'rubyge...
Emptor asked 22/5, 2012 at 19:1
2
Solved
I would like to select "All" option from the below DOM using Playwright JS, and I have tried page.selectOption('select#rows per page', '-1'); and page.selectOption('id=mui-55656', '-1'); ...
Selfregard asked 19/3, 2021 at 5:23
4
I am using Python / Selenium and am trying to select an input box that does not have an ID:
HTML
<div class="form-group">
<input type="email"
class="form-control...
Cordy asked 25/2, 2016 at 16:23
3
Solved
I have successfully used Playwright in python to get elements from a page. I now ran into to challenge of getting elements from a document embedded within an iframe. As an example, I used the w3sch...
Shelba asked 23/12, 2020 at 12:13
3
Solved
I need to intercept network request and save it's response body to variable, so I can perform assertions with values, that are displayed on UI, but when I try to access variable which is supposed t...
Nochur asked 13/5, 2021 at 11:54
5
Solved
Hi I am doing some web automation. I am trying to open a url and I am getting a data URL error in chrome console so I am moving to firefox console to get around the no data urls opening in the chro...
Ridgepole asked 2/8, 2020 at 4:37
4
Is there any way or Puppeteer API we can wait element to disappear or remove from Dom and then continue the execution?
E.g I have a loading animation I want to wait until this loading animation r...
Loos asked 13/11, 2019 at 9:9
1
I am using playwright for test automation.
Every test run creates a new instance of chromium.
When I pass --auto-open-devtools-for-tabs it opens devtools as expected.
But, I need to go one step fur...
Umeko asked 27/4, 2021 at 8:16
1
Solved
I have PHP script, and Im calling python function with this code with URL parameter:
import json
import sys
import urllib.parse
link = urllib.parse.unquote(sys.argv[1])
from playwright.sync_api imp...
Trachoma asked 22/4, 2021 at 9:45
1 Next >
© 2022 - 2025 — McMap. All rights reserved.