which is the locator to get list of elements.. just like we use page.$() in javascript.. How can we do in playwright with python?
@SonaliSalave-o9k8 күн бұрын
) E playwright._impl._errors.Error: It looks like you are using Playwright Sync API inside the asyncio loop. E Please use the Async API instead. /opt/homebrew/lib/python3.13/site-packages/playwright/sync_api/_context_manager.py:47: Error. I am getting this error when I am using POM class. can anyone help?
@prasanthchebrolu19 күн бұрын
VM222:1 Uncaught ReferenceError: playwright is not defined at <anonymous>:1:1. Seeing this when executing playwright commands in the browser console . Can you help to resolve this error?
@Bramza20 күн бұрын
Huge help thanks man!
@deebx821424 күн бұрын
DANKE AUS DETUCH
@SHEETALBaheti-q3y28 күн бұрын
Amazing.Thx a lot
@Adam-ek1ueАй бұрын
thank you bro ! ur helping me a lot
@grw39512 ай бұрын
Hi! Interesting and useful video as always. What about next situation according to "How to verify a particular phrase contains in text message using Playwright Assertion": I have search phrase-"t-shirt" and I did a search for products using this phrase on the site I'm testing and have a list of items (a short description of the product), each of them looks like this - “Pure Cotton V-Neck T-Shirt”. The method shown in this video does not work in this case. What should I do in this case? Except the option to make the search phrase like: “T-Shirt”?
@RAJUBHAI-pt2xc2 ай бұрын
I am working on .aspx site and i want to fetch an alert message and act accordingly. How to handle this? (Alert msg not comes for everytime. so how to detect alert popup in in some time frames? )
@linkstech29432 ай бұрын
Hi while using below playwright codegen 180.179.151.168/merchant-simulator/login getting error as Error: net::ERR_CERT_COMMON_NAME_INVALID at 180.179.151.168/merchant-simulator/login Call log: - navigating to "180.179.151.168/merchant-simulator/login", waiting until "load" please suggest.
@GauravShukla-h4f2 ай бұрын
can you create new video on mobile App ,automation virtual device with python pytest Playwright
@vothaian2 ай бұрын
How do you convert webm to mp4 or optimize video high quality? Currently, it is slow quality.
@ItayGurwitz3 ай бұрын
But playwright don't recommend using xpath. Is there a playwright-locator way?
@GauravBewal3 ай бұрын
Hi thanks for this video, can you please explain, how to do the same thing by adding all the test cases of a file in the class? I've tried this but getting errors. Can you please help ? @pytest.mark.usefixtures(before_each_after_each()) class amazon(): def test_amazon_get_the_product_price():
@deepaktank26694 ай бұрын
Hi, I am also getting same error. The code is exactly same you written. I have 2 projects, in one of the project, it is passed and in another, it is failing with same error. "FAILED playwright/test_multi_select.py::test_example[chromium] - ValueError: Unsupported type: <class 'playwright.sync_api._generated.ElementHandle'> . Please let me know if something is missed to install.
@lailabernardon4434 ай бұрын
Hey, hope you are well, I am trying to test in different browsers using @pytest.mark.parametrize("browser_name", ["chromium", "firefox", "webkit"]) but is just opening the chromium :( do you know how solve it?
@thelayer52114 ай бұрын
Useless session
@thangvumanh13204 ай бұрын
You have created to many pages, packages and tests, it's hard to understand your courses.
@helloworld81514 ай бұрын
i tried this method, but its not working using same google website, blur method is not working properly
@mk2103.5 ай бұрын
hi, how to run this in async_playwright?
@alphabelta60925 ай бұрын
Thank you very much for the video. Did you make videos about date or calendar pickers?
@amithshettigar19405 ай бұрын
Hi Could you share how to do similar get value from dropdown (select) field which is already selected. I tried inputValue, but it gives from the attribute "value" of select. But i want the text , thank You
@sukhveersingh23996 ай бұрын
Hello Sir why src package is created ?
@蘇冠宇-w2n7 ай бұрын
how to get html sorce on the frame_left #document html
@denstim7 ай бұрын
Bro, thank you very much for this tutorial! 👍
@rajeshnaidu25277 ай бұрын
@AutomationNeemo, this is useful, but how can we record on non-incognitio mode, is that possible.
@anubisfifa177 ай бұрын
this is so worst, either improve your teaching or leave this sector , pease.
@AnkitaSaha-fv1yz7 ай бұрын
Can you help me?
@kumarraj9897 ай бұрын
How to validate if displayed graph type like line chart, Bar chart etc.
@arsiddilip67488 ай бұрын
Hello @automationNeemo, can you plz let us know how to separate common locators (like header and footer) into separate page file ?
@joy2world978 ай бұрын
Thank you. I was stuck on the OK/Cancel popup for days.
@arsiddilip67488 ай бұрын
what about slugify module ? I am getting error on slugify line
@arsiddilip67489 ай бұрын
hi @AutomationNeemo, is there a continuation video - Part7/Part8 for this series ? I dont see any on the channel. Please clarify.
@gopikrishnasp26889 ай бұрын
Where can I download the code that you have created. It will be used for my reference.
@chirag.ali479 ай бұрын
How can we attach the video on report ?
@deepakmanindra38019 ай бұрын
Bro can u say your GitHub id
@iamsurajdoijode9 ай бұрын
Pl can someone help me this error when trying to type on the console - VM358:1 Uncaught ReferenceError: playwright is not defined at <anonymous>:1:1
@Mahi-q9x7n9 ай бұрын
state.json will work only for the particular session? or we can reuse it for different session without doing login in the first testcase?
@jorgeorepalomino59469 ай бұрын
thanks, i have a question, How do I get the response associated with a specific GET request in playwright
@NehaSharma-l4d3e9 ай бұрын
How i can overcome error "AttributeError: 'NoneType' object has no attribute 'fill' " getting at login page line 14. please help.
@ffgaming-fe3cx10 ай бұрын
bhai thank you so much
@agustinvalverde251910 ай бұрын
Straight up FIRE content. Helped me a lot
@Khalid-Ibn-Al-Walid10 ай бұрын
Thank you very much, it also works with mac there is a path. Thanks bro
@jyothireddykonduru10 ай бұрын
How to handle.. if don't have span tag. . only text we have...
@tuntai110 ай бұрын
Is there anyway to take screenshot with scope set at 'session'? What I found is, Using page fixture lets you capture screenshot, video & trace but it will not run in 'session' scope. On the other hand if you select fixture as playwright, browser lets you run in 'session' scope but can't capture screenshot with CLI command. I am building my test suite in 'session' scope to by-pass authentication steps every single time. But I also need to take screenshots, videos for debugging & reporting. Is there any solution?
@radekcols10 ай бұрын
hello, how to keep all videos from all runs? every run rewrites the old video, so there's always only one video (the most recent one) in the folder. thank you
@vladislav479710 ай бұрын
You just saved me from wasting the whole night on debugging. 10:00 is the time where it clicked for me.
@mohapatradharitree10 ай бұрын
Thanks a lot for the useful video.However CLI arguments are not working for me, Anything specific we need to install apart from pytest-playwright
@WiktorWiktorowicz10 ай бұрын
Thank you so much! I have question. What if I have more than one conf function. For logged and unlogged user. Can you give me advice?
@WiktorWiktorowicz10 ай бұрын
Becouse if I type list with my conf function I got: INTERNALERROR> page = item.funcargs["login_Set_up", "set_up"] INTERNALERROR> ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> KeyError: ('login_Set_up', 'set_up')