Part28-Selenium with Java Tutorial | Practical Interview Questions and Answers |JavaScriptExecutor

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

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

  • @Ravitejabij
    @Ravitejabij 3 года назад +8

    This complete webseries is more than enough to crack any interview.These all concepts are enough to work in real time

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

      This is a question ? or else you are trying to give suggestion based on your experience?

  • @bharathkoneru4008
    @bharathkoneru4008 3 года назад +5

    Thanks alot sir for the amazing tutorials.
    I would like to add one more action with respect scrolling, that can be performed using JSE.
    //This will scroll, until the particular element is visible on the page.
    public static void scrollToElementUsingJS(WebElement element, WebDriver driver){
    JavascriptExecutor js = (JavascriptExecutor)driver;
    js.executeScript("arguments[0].scrollIntoView(true);",element);
    }

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

      thank you for adding method here, it is helpful for us to get to know additional things about given topic.

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

    superb...

  • @balla12361
    @balla12361 3 года назад +3

    Hi Pawan, hope you are well. At 1.39, I think EdgeDriver extends ChromiumDriver, not RemoteWebDriver. Can you please correct me if I'm wrong, thanks.

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

    hello pavan sir,Thank you so much for sharing your knowledge.i am preparing for testing and i am watching all your videos .i have one question here, when we have to use arguments[0] ,in the script you used it only for some methods.

  • @pandudamera7211
    @pandudamera7211 3 года назад +1

    Great example sir

  • @mydestinity8313
    @mydestinity8313 3 года назад

    Great sir 🙏

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

    we need to type manually all the java scripts pre defined methods .or else we can copy form somewhere?

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

    Awesome

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

    Hi pavan sir, session was very useful. Could you please attach the javascript executor utility file in description. It would be helpful for us.

  • @Mreddy6538
    @Mreddy6538 3 года назад +1

    Thanks

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

    can we create non static method in generic utility class for jse because I tried with non static method but its not working, it works only with static method

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

      u need to create instance of the class then

  • @srabansahoo-m8c
    @srabansahoo-m8c Год назад

    Sir, it is possible to upload 32 video code add in your github ?

  • @SivaKumar-ed8fb
    @SivaKumar-ed8fb 3 года назад

    Upto topics is over is there any remaining parts

  • @shivamkadu5010
    @shivamkadu5010 3 года назад

    🙏🙏

  • @viplovebisen
    @viplovebisen 3 года назад

    🙏🙏🙏❤️❤️❤️❤️❤️❤️

  • @priyajain8715
    @priyajain8715 3 года назад +1

    Sir,if you could share code, through git it would be great

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

    Sir, can we use driver. executeScript("script Code")

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

    Repetitive code is considered bad programming practice. You should have avoided this as an instructor.

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

    what is this
    arguements[0].style.border='3px solid red

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

      This is for to hilight a element with color border