I’m using this code I found on this page to save browser context after running the code: But when I try to change the directory from the /tmp/playwright folder, which is created in C:, to the current folder where I’m running the code (user_dir = ‘./tmp/playwright’), the two folders are created but the playwright folder has nothing inside! Does anyone
Tag: playwright-python
Trying to select the option
I want to click these option on the pages is there any I am new to a playwright I am not familiar with playwrights so much kindly any solution recommended these is page link https://www.ifep.ro/justice/lawyers/lawyerspanel.aspx Answer You can use the select_options for selecting 30. You can use the text selector and then click the checkboxes like this:
How to use playwright and beautifulsoup on web page which has pagination?
Locked for 37 days. There are disputes about this question’s content being resolved at this time. It is not currently accepting new answers or interactions. I am new to web scraping. I want to scrape the data (comments and respective dates) from this web page https://forum.donanimhaber.com/turkcell-25-000-dk-12-000-sms-70-gb-internet-12-ay-320-tl-ana-konu–151777938 It has pagination for pages…. This is the way I am doing This code
Download currnet image with python playwright
Is it possible to make something like this with Playwright: https://stackoverflow.com/a/52692041 I prefer playwright over selenium but can’t find a way with Playwright. Answer I tried this and it worked (I used an element handler instead of arguments[0]):
How to download PDF files with Playwright? (Python)
I’m trying to automate the download of a PDF file using Playwright, I’ve the code working with Selenium, but some features in Playwright got my attention. The real problem the documentation isn’t helpful. When I click on download I get this: And I cant change the directory of the download, it also delete the “file” when the browser/context are closed.