#4 - Playwright Setup & First Script - Launch Chromium, Firefox & webkit

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 68

  • @SarangHoley
    @SarangHoley 2 ปีที่แล้ว +7

    I remember the days when you start the Java Selenium series, just the same way this also got begun, Thanks @Naveen for it. Such a detailed explanation 😊👍

  • @mitenrajani3455
    @mitenrajani3455 2 ปีที่แล้ว +2

    Very detailed explanation @Naveen , you are like jitu bhaiya in kota factory .

  • @akshaychorey1376
    @akshaychorey1376 2 ปีที่แล้ว +1

    Thanks Naveen, for a whole new series over a very nice tool. I am sure Playwright will buzz in the market in coming years

  • @kalaiarasineelamegam6009
    @kalaiarasineelamegam6009 2 ปีที่แล้ว +2

    Very detailed explanation naveen.. Thanks a lot. 🎊🎊🎉🎉🎊🎉

  • @mushfiquazaman9597
    @mushfiquazaman9597 2 ปีที่แล้ว +1

    Great tutorial. Thank you Naveen.

  • @vinayakavinaybelur778
    @vinayakavinaybelur778 2 ปีที่แล้ว +1

    Thanks Naveen. You are amazing 👏

  • @Madhan1992
    @Madhan1992 2 ปีที่แล้ว +1

    Hi Naveen,
    when I try to download the binaries from the playwright tool.I'm getting the following issue below like,
    Failed to install browser
    Unable to get local issuer certificate
    can u help me on this??

  • @swapnilbodade1336
    @swapnilbodade1336 2 ปีที่แล้ว +1

    We are following.. great video thanks,

  • @zenkiedaniel5949
    @zenkiedaniel5949 2 ปีที่แล้ว +1

    Very well explained. Thank you. Does playwright/test has support for data driving testing?

  • @animeshroy1101
    @animeshroy1101 2 ปีที่แล้ว +1

    Hello Sir, when I am running the test getting this error instead of downloading binaries.
    Error on console :>> Exception in thread "main" java.lang.RuntimeException: Failed to create driver.
    Please help me sir how can I solve this problem

  • @aayushpatel3360
    @aayushpatel3360 2 ปีที่แล้ว +1

    Awesome Naveen

  • @shubhamholey9787
    @shubhamholey9787 9 หลายเดือนก่อน

    Hello @Naveen,
    Thank you for such detailed explanation on Playwright.
    Can you please create a dedicated video for downloading binaries at custom path. I have tried applying the way it is written in documentation but still it is downloading at its default location.

  • @surwase1
    @surwase1 2 ปีที่แล้ว +1

    @Naveen- I am not able to download the driver. getting this exception
    java.lang.ClassNotFoundException: com.microsoft.playwright.impl.driver.jar.DriverJar
    Please help me

  • @sanupriya1672
    @sanupriya1672 3 หลายเดือนก่อน

    Hi @naveen I dont see the Maven quickstart while creating a new maven project artifect catalog filter

  • @sack112007
    @sack112007 ปีที่แล้ว

    WellExplained. One question: could you please explain how playwright connects with Selenium Grid. I am facing an issue while connecting with https Grid Server and don't know how to proceed further.

  • @chandrus511
    @chandrus511 2 ปีที่แล้ว

    Thanks for your videos. Is it possible to launch chrome browser in non-incognito mode. by default it is getting opened in "Incognito" mode

  • @navyabusireddy7416
    @navyabusireddy7416 2 ปีที่แล้ว

    Can you help me is it possible to download supported binaries for specific playwright version manually and place in the specified location.

  • @anandhirajagopal320
    @anandhirajagopal320 2 ปีที่แล้ว

    Sir, you said that there three binaries Chromium, firefox and webkit. but when I give Launch Chromium, it downloading all the three binaries. cant we download only chromium binaries?

  • @shashikumar-ii3vt
    @shashikumar-ii3vt 2 ปีที่แล้ว

    @Naveen Thanks for the Awesome Serious. After watching the whole series setting up the environment in my machine where I'm behind the firewall where I'm unable to download the browser Binaries Can you please help me with alternate ways to download Binaries or How to download behind firewall or over proxy??

  • @bhumitpatel5525
    @bhumitpatel5525 2 ปีที่แล้ว

    Dynamic wait and to websocket for connection is used, apart from what are the limitation which is overcome by playwrite as compare to selenium?

  • @EkremMese-o6i
    @EkremMese-o6i 10 หลายเดือนก่อน

    Thank you Naveen!

  • @sowmya1057
    @sowmya1057 9 หลายเดือนก่อน

    Hi Naveen, please let me know if I can trigger Playwright scripts through Tosca Commander. If yes, can I get an idea about it. Thank you.

  • @rayshu83
    @rayshu83 8 หลายเดือนก่อน

    My org has blocked the creation of folder in AppData folder, not able to download bindary, Is there way to change default path of binary downloading?

  • @rajujawale5186
    @rajujawale5186 2 ปีที่แล้ว

    Very informative and useful

  • @RaviSalunkhe85
    @RaviSalunkhe85 2 ปีที่แล้ว

    What is the general or most used language for playwright?
    I see a lot of stuff with TypeScript!
    Any idea?

  • @piano_dreamerc_moll2475
    @piano_dreamerc_moll2475 2 ปีที่แล้ว

    hello,
    first of all thank you for the great tutorial. :-)
    I have 1 question, please. Could you show me the JAVA CODE example for MAXIMIZED the browser?
    Than you very much!

  • @sunilkukreja
    @sunilkukreja ปีที่แล้ว

    @Naveen Can we replace selenium libraries in our existing Cucumber / Test Ng Framework with Playwright and use the automation pack as is was ?

  • @damaharinathreddy00
    @damaharinathreddy00 2 ปีที่แล้ว +1

    It is awesome..!

  • @THE-AI_INSIDER
    @THE-AI_INSIDER 2 ปีที่แล้ว

    Hi Naveen, how to add a chrome extension in launch options for launching an application on chrome?

  • @shubhangipawar3993
    @shubhangipawar3993 2 ปีที่แล้ว

    it was a nice vdo...Thanks for it.

  • @shruthi5126
    @shruthi5126 2 ปีที่แล้ว

    How to avoid download of webkit while running as Java application since I am using 10.13 mac os it doesn't support for that

  • @palaksoni8341
    @palaksoni8341 ปีที่แล้ว +1

    Suppose i already have maven project with selenium java , can we add/combine playwright dependency there ??

  • @KishoreKumar-xr3fu
    @KishoreKumar-xr3fu 2 ปีที่แล้ว

    Can we run the tests on different version without changing the PW version?

  • @GurudattaPraharaj
    @GurudattaPraharaj 9 หลายเดือนก่อน

    Thanks Naveen But how to maximize browser ?

  • @maddulasaikrishna7586
    @maddulasaikrishna7586 2 ปีที่แล้ว

    Can make a video of installation &configuration for Javascript

  • @likingvideos1151
    @likingvideos1151 2 ปีที่แล้ว

    While trying to install browser via browser using CLI - # Running without arguments will install default browsers
    mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="install"
    getting error "No plugin found for prefix 'exec' in the current project and in the plugin groups "
    Need your help here.

  • @Ramvt211
    @Ramvt211 ปีที่แล้ว

    hi , how i can maxmize window after playwirght open the browser?

  • @mahanandavaijinath3783
    @mahanandavaijinath3783 9 หลายเดือนก่อน

    Hello Naveen,
    I am getting following errors after importing necessary package also
    1.Not able to resolve navigate symbol
    2.Not able to resolve title
    Please help here.

  • @baleginda8183
    @baleginda8183 2 ปีที่แล้ว

    good morning Naveen

  • @shaileshbyheart
    @shaileshbyheart 2 ปีที่แล้ว

    Well explained 👍
    @Naveen one question, can you pls explain how to use dynamic wait in playwright

  • @srieedhersanthakumar774
    @srieedhersanthakumar774 2 ปีที่แล้ว

    Thanks for the session sir. I have doubt am getting error while launching firefox remaining all browsers are working fine

  • @reddyprasad4581
    @reddyprasad4581 ปีที่แล้ว

    Hi ,in my eclipse i m seeing 1.4 version to create project

  • @benittoraja5957
    @benittoraja5957 2 ปีที่แล้ว

    Playwrite.chromium().launch().
    .chromium option is not showing...

  • @piano_dreamerc_moll2475
    @piano_dreamerc_moll2475 2 ปีที่แล้ว

    Thank you for the great tutorial - just one more question., please. How can I keep the browser opened after execution? Many Thanks. (in JAVA)

  • @saurabhdhane
    @saurabhdhane 8 หลายเดือนก่อน

    Sir Playwright Import option not visible whats the problem

  • @sankaranarayanan5700
    @sankaranarayanan5700 2 ปีที่แล้ว

    Unable to get Local issuer certificate, can uiu please help here

  • @bebrightchannel6029
    @bebrightchannel6029 2 ปีที่แล้ว

    how to open spesific profile chrome?

  • @dasasudheer1211
    @dasasudheer1211 2 ปีที่แล้ว

    How to set insecure certs value in playwright??

  • @shubhangipawar3993
    @shubhangipawar3993 2 ปีที่แล้ว

    Can we also have in the JavaScript or Typescript language.

  • @ShailjaPapneja-g6z
    @ShailjaPapneja-g6z 5 หลายเดือนก่อน

    Why we use browsercontext

  • @arjun744
    @arjun744 2 ปีที่แล้ว

    Hi Naveen, how to ignore certification errors in playwright?

    • @chandrus511
      @chandrus511 2 ปีที่แล้ว

      BrowserContext context = browser.newContext(new Browser.NewContextOptions().setIgnoreHTTPSErrors(true));

  • @taushifkhan9918
    @taushifkhan9918 3 หลายเดือนก่อน

    Please share git hub url for this

  • @amityraipur
    @amityraipur 2 ปีที่แล้ว

    Getting Failed to download chromium error...

    • @amityraipur
      @amityraipur 2 ปีที่แล้ว

      Runtime exception, Failed to download driver

    • @pranavpothiwala8091
      @pranavpothiwala8091 2 ปีที่แล้ว

      Same here it failing on launch(); for me

  • @Sandeep11067
    @Sandeep11067 2 หลายเดือนก่อน

    Hi Naveen, I tried to run the code. i'm not getting the browsers to be launched. Exception in thread "main" com.microsoft.playwright.TimeoutError: Error { message='Timeout 30000ms exceeded. However i'm getting the title of the page in console.

  • @_manasikara
    @_manasikara ปีที่แล้ว

    Yo! After doing step by step what you are doing, got 3 Errors and can't move forward:
    1.
    Missing artifact com.microsoft.playwright:playwright:jar:1.29.0 pom.xml /PlaywrightSessions line 22
    Maven Dependency Problem
    2
    The container 'Maven Dependencies' references non existing library 'C:\Users\'my_username'\.m2
    epository\com\microsoft\playwright\playwright\1.29.0\playwright-1.29.0.jar' PlaywrightSessions
    Build path Build Path Problem
    3
    The project cannot be built until build path errors are resolved PlaywrightSessions
    Unknown Java Problem

  • @jyotiprokashmondal1518
    @jyotiprokashmondal1518 ปีที่แล้ว

    Hi @Naveen, Your explanation is very good. I'm facing a problem when I try to install all supported browser using CLI command:
    mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="install --help"
    It shows [ERROR] Unknown lifecycle phase ".mainClass=com.microsoft.playwright.CLI". You must specify a valid lifecycle phase or a goal in the format : or :[:]:....
    Code Editor IntellijIdea, Please help to solve this issue.

  • @mahaboobsabmaniyar7363
    @mahaboobsabmaniyar7363 2 ปีที่แล้ว +1

    How Handle untrusted certificate