How To Solve InvalidArgumentException In Selenium

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024

Комментарии • 25

  • @naveenautomationlabs
    @naveenautomationlabs 2 года назад +7

    Good one, thanks for covering this. Yes any url without http or https or protocol symantic is an invalid url, Selenium could provide more appropriate message with exception.
    This will work without "www" butt http(s) is mandatory to pass.

    • @Mukeshotwani
      @Mukeshotwani  2 года назад +3

      Thank you Naveen bhai 🙏 your comments are always valuable

  • @sriram6368
    @sriram6368 2 дня назад +1

    Thank You Brother👍

  • @AnushR27
    @AnushR27 2 года назад +1

    I didn't have much knowledge about this exception because I generally copy the url directly from browser with http or https for practice. This video is really good for knowledge sharing and can be a good interview question. Thankyou😊👍🏻

    • @Mukeshotwani
      @Mukeshotwani  2 года назад +1

      Hi Anushree thank you so much. Yes mostly we copy the URL and it works but this exception is very annoying for freshers 😉

  • @amol6471
    @amol6471 4 месяца назад +1

    Thanks. It was helpful. :)

  • @pujagomade8494
    @pujagomade8494 Год назад

    Thank you sir. It is helpful info.

  • @Sharon-zr5nt
    @Sharon-zr5nt Год назад +1

    Thankyou so much...was really helpful

  • @padmashreet1952
    @padmashreet1952 9 месяцев назад +1

    Thank you soo much ...

  • @TravelByAnup
    @TravelByAnup 2 года назад +1

    Always Great u and naveen sir 👍

  • @gayatritankar7856
    @gayatritankar7856 Год назад +2

    Hello Sir, I got this same error ( org.openqa.selenium.InvalidArgumentException) while uploading a file, how can I resolve this, I am stuck in this error for a week and still I did not find any solution, could you please help me?

    • @Mukeshotwani
      @Mukeshotwani  Год назад +1

      Hi Gayatri, make sure path is correct while uploading files.

    • @gayatritankar7856
      @gayatritankar7856 Год назад

      @@Mukeshotwani Hello Sir, I have used the correct path but still got the same error and while using the same path by Robot Class I got the correct output why is this happening?

    • @ranita4848
      @ranita4848 3 месяца назад

      Hi..have you resolve the error. I am getting this error in uploading file

  • @RanjithKumar-xt5vw
    @RanjithKumar-xt5vw Год назад +2

    What if this exception comes after browser launched and in the middle of the script?any Guess?

    • @Mukeshotwani
      @Mukeshotwani  Год назад +1

      It will come whenever you dont pass url in proper format.

  • @karnataka8863
    @karnataka8863 Год назад +2

    For me same exception on XPath not on get method .how to resolve it ? Getting annoying

  • @SOme_rAnDOm_GuY908
    @SOme_rAnDOm_GuY908 11 месяцев назад +1

    thank you soo much i was so frustated by this issue
    in python

    • @Mukeshotwani
      @Mukeshotwani  11 месяцев назад

      Hey Mate, I am glad it helped 😊

  • @maheshkumbar4251
    @maheshkumbar4251 2 года назад

    Hi sir i am passout in 2019 complicated my graduated 2 or 3year in gap prepare government job now i join qspider institute hyderbad learning automation testing.. my question is 3years gap companys hiring me.. suggest me bro