Пікірлер
@SonaliSalave-o9k
@SonaliSalave-o9k 8 күн бұрын
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-o9k
@SonaliSalave-o9k 8 күн бұрын
) 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?
@prasanthchebrolu
@prasanthchebrolu 19 күн бұрын
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?
@Bramza
@Bramza 20 күн бұрын
Huge help thanks man!
@deebx8214
@deebx8214 24 күн бұрын
DANKE AUS DETUCH
@SHEETALBaheti-q3y
@SHEETALBaheti-q3y 28 күн бұрын
Amazing.Thx a lot
@Adam-ek1ue
@Adam-ek1ue Ай бұрын
thank you bro ! ur helping me a lot
@grw3951
@grw3951 2 ай бұрын
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-pt2xc
@RAJUBHAI-pt2xc 2 ай бұрын
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? )
@linkstech2943
@linkstech2943 2 ай бұрын
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-h4f
@GauravShukla-h4f 2 ай бұрын
can you create new video on mobile App ,automation virtual device with python pytest Playwright
@vothaian
@vothaian 2 ай бұрын
How do you convert webm to mp4 or optimize video high quality? Currently, it is slow quality.
@ItayGurwitz
@ItayGurwitz 3 ай бұрын
But playwright don't recommend using xpath. Is there a playwright-locator way?
@GauravBewal
@GauravBewal 3 ай бұрын
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():
@deepaktank2669
@deepaktank2669 4 ай бұрын
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.
@lailabernardon443
@lailabernardon443 4 ай бұрын
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?
@thelayer5211
@thelayer5211 4 ай бұрын
Useless session
@thangvumanh1320
@thangvumanh1320 4 ай бұрын
You have created to many pages, packages and tests, it's hard to understand your courses.
@helloworld8151
@helloworld8151 4 ай бұрын
i tried this method, but its not working using same google website, blur method is not working properly
@mk2103.
@mk2103. 5 ай бұрын
hi, how to run this in async_playwright?
@alphabelta6092
@alphabelta6092 5 ай бұрын
Thank you very much for the video. Did you make videos about date or calendar pickers?
@amithshettigar1940
@amithshettigar1940 5 ай бұрын
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
@sukhveersingh2399
@sukhveersingh2399 6 ай бұрын
Hello Sir why src package is created ?
@蘇冠宇-w2n
@蘇冠宇-w2n 7 ай бұрын
how to get html sorce on the frame_left #document html
@denstim
@denstim 7 ай бұрын
Bro, thank you very much for this tutorial! 👍
@rajeshnaidu2527
@rajeshnaidu2527 7 ай бұрын
@AutomationNeemo, this is useful, but how can we record on non-incognitio mode, is that possible.
@anubisfifa17
@anubisfifa17 7 ай бұрын
this is so worst, either improve your teaching or leave this sector , pease.
@AnkitaSaha-fv1yz
@AnkitaSaha-fv1yz 7 ай бұрын
Can you help me?
@kumarraj989
@kumarraj989 7 ай бұрын
How to validate if displayed graph type like line chart, Bar chart etc.
@arsiddilip6748
@arsiddilip6748 8 ай бұрын
Hello @automationNeemo, can you plz let us know how to separate common locators (like header and footer) into separate page file ?
@joy2world97
@joy2world97 8 ай бұрын
Thank you. I was stuck on the OK/Cancel popup for days.
@arsiddilip6748
@arsiddilip6748 8 ай бұрын
what about slugify module ? I am getting error on slugify line
@arsiddilip6748
@arsiddilip6748 9 ай бұрын
hi @AutomationNeemo, is there a continuation video - Part7/Part8 for this series ? I dont see any on the channel. Please clarify.
@gopikrishnasp2688
@gopikrishnasp2688 9 ай бұрын
Where can I download the code that you have created. It will be used for my reference.
@chirag.ali47
@chirag.ali47 9 ай бұрын
How can we attach the video on report ?
@deepakmanindra3801
@deepakmanindra3801 9 ай бұрын
Bro can u say your GitHub id
@iamsurajdoijode
@iamsurajdoijode 9 ай бұрын
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-q9x7n
@Mahi-q9x7n 9 ай бұрын
state.json will work only for the particular session? or we can reuse it for different session without doing login in the first testcase?
@jorgeorepalomino5946
@jorgeorepalomino5946 9 ай бұрын
thanks, i have a question, How do I get the response associated with a specific GET request in playwright
@NehaSharma-l4d3e
@NehaSharma-l4d3e 9 ай бұрын
How i can overcome error "AttributeError: 'NoneType' object has no attribute 'fill' " getting at login page line 14. please help.
@ffgaming-fe3cx
@ffgaming-fe3cx 10 ай бұрын
bhai thank you so much
@agustinvalverde2519
@agustinvalverde2519 10 ай бұрын
Straight up FIRE content. Helped me a lot
@Khalid-Ibn-Al-Walid
@Khalid-Ibn-Al-Walid 10 ай бұрын
Thank you very much, it also works with mac there is a path. Thanks bro
@jyothireddykonduru
@jyothireddykonduru 10 ай бұрын
How to handle.. if don't have span tag. . only text we have...
@tuntai1
@tuntai1 10 ай бұрын
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?
@radekcols
@radekcols 10 ай бұрын
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
@vladislav4797
@vladislav4797 10 ай бұрын
You just saved me from wasting the whole night on debugging. 10:00 is the time where it clicked for me.
@mohapatradharitree
@mohapatradharitree 10 ай бұрын
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
@WiktorWiktorowicz
@WiktorWiktorowicz 10 ай бұрын
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?
@WiktorWiktorowicz
@WiktorWiktorowicz 10 ай бұрын
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')
@artura3553
@artura3553 10 ай бұрын
thank you very much, worked perfectly!