P7 - Different Locators available in Selenium WebDriver | తెలుగు |

Поделиться
HTML-код
  • Опубликовано: 25 апр 2021
  • In this video, I have explained about "Different Locators available in Selenium WebDriver".
    Selenium WebDriver is an open-source tool for automated testing of web apps across many browsers.
    One of the most fundamental techniques to learn when using WebDriver is how to find elements on the page. WebDriver offers a number of built-in selector types(locators) to achieve the same.
    ⭐ Element Selection Strategies or Locators ⭐
    There are eight different built-in element location strategies or locators available in WebDriver:
    id -- Locates elements whose ID attribute matches the search value
    name -- Locates elements whose NAME attribute matches the search value
    class name -- Locates elements whose class name contains the search value
    tag name -- Locates elements whose tag name matches the search value
    CSS selector -- Locates elements matching a CSS selector
    XPath -- Locates elements matching an XPath expression
    link text -- Locates anchor elements whose visible text matches the search value
    partial link text -- Locates anchor elements whose visible text contains the search value. If multiple elements are matching, only the first one will be selected.
    In general, if HTML IDs are available, unique, and consistently predictable, they are the preferred method for locating an element on a page. They tend to work very quickly and forego much processing that comes with complicated DOM traversals.
    If unique IDs are unavailable, a well-written CSS selector is a preferred method of locating an element. XPath works as well as CSS selectors, but the syntax is complicated and frequently difficult to debug. Though XPath selectors are very flexible, they are typically not performance tested by browser vendors and tend to be quite slow.
    Selection strategies based on linkText and partialLinkText have drawbacks in that they only work on link elements. Additionally, they call down to XPath selectors internally in WebDriver.
    Tag name can be a dangerous way to locate elements. There are frequently multiple elements of the same tag present on the page. This is mostly useful when calling the findElements(By) method which returns a collection of elements.
    The recommendation is to keep your locators as compact and readable as possible. Asking WebDriver to traverse the DOM structure is an expensive operation and the more you can narrow the scope of your search, the better.
    -- Example: --
    WebElement cheese = driver.findElement(By.id("cheese"));
    As seen in the example, locating elements in WebDriver is done on the WebDriver instance object. The findElement(By) method returns another fundamental object type, the WebElement.
    WebDriver -- represents the browser
    WebElement -- represents a particular DOM node (a control, e.g. a link or input field, etc.)
    You can find the program used in this video at the below location: 👇
    bit.ly/32ReI3h
    ▶ Next Video link: • P8 - How to handle Tex...
    ◀ Previous Video Link: • P6 - Auto Download Dri...
    ↔ Selenium Java in Telugu Playlist link: bit.ly/3tL7Z9S
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc
    👑 Join my RUclips channel to get access to perks:👇
    / @hyrtutorials
    ==============================================
    ==============================================
    Connect us @
    🔗 Website - www.hyrtutorials.com
    🔗 Telegram - t.me/hyrtutorials
    🔗 Facebook - / hyrtutorials
    🔗 LinkedIn - / hyrtutorials
    🔗 Twitter - / hyrtutorials
    🔗 Instagram - / hyrtutorials
    ==============================================
    ==============================================
    🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
    #hyrtutorials #selenium #telugu #java

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

  • @HYRTutorials
    @HYRTutorials  3 года назад +9

    📌 Selenium Java in Telugu Playlist link: bit.ly/3tL7Z9S
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc

  • @athmakurisukshmata6206
    @athmakurisukshmata6206 Год назад +3

    thop anna nuv itla ne cheyandi videos masth 👌ardham ayithundhi Thank You very much👍

  • @sandeepreddyjagga8052
    @sandeepreddyjagga8052 5 месяцев назад

    Before i was very afraid of selenium , but after listening to your class i feel confident . nice teaching bro

  • @baddipraveen9623
    @baddipraveen9623 Год назад +3

    Chala clear ga chepthunnaru great anna

  • @kavyayadla8642
    @kavyayadla8642 2 года назад +4

    Thank you for the video sir . U r very talented and u r explanation is awesome

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

      Thankyou 😊
      Practice cheyyadam marchipovadhu

  • @tallurigopi9080
    @tallurigopi9080 Год назад +4

    good job gurujii thanks a lot for doing this kind of videos in our regional language...

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

    Thank you somuch sir. You are helping great. Very useful information. Thank you

  • @vijaysekharreddy2588
    @vijaysekharreddy2588 10 месяцев назад +1

    Nice explanation bro..

  • @user-bh2xk2ef1d
    @user-bh2xk2ef1d 2 года назад +4

    Anna super and clear explanation .... Soo easy to learn and thank u Annaya

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

    Thanks Yadagiri Reddy..Nice session..👍

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

    Sir superb easily understand ur vedios.....

  • @ramadevimudhiraj3046
    @ramadevimudhiraj3046 11 месяцев назад +2

    Yes bro u r amazing,no words,thank you

  • @MustafaExplores
    @MustafaExplores 2 года назад +10

    All watchers, you can find highlighter script here:
    public static void highlight(WebDriver driver, WebElement element) {
    JavascriptExecutor jsExecutor = (JavascriptExecutor) driver;
    jsExecutor.executeScript("arguments[0].setAttribute('style', 'background: yellow; border: 2px solid red;');", element);

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

      Yup, now this is handy

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

      Hi..do we need to add any packages for this to work

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

      How to download that code

  • @subbareddy9954
    @subbareddy9954 8 месяцев назад

    Really nice ,tq s mch

  • @kvenis358
    @kvenis358 Год назад +3

    very good explanation sir. thank you very much.

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

    You are doing great job sir

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

    Really great explanation...

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

    Thanks for the useful video brother

  • @adhinarayanasuriboina5588
    @adhinarayanasuriboina5588 2 года назад +2

    Thankyou brother usefull information

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

    Very useful video thanks alot.

  • @yadavalliumamaheswararao472
    @yadavalliumamaheswararao472 2 года назад +2

    very good useful video

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

    Thank you so much brother,you are doing great job keep going👍👍

  • @user-qe6kc9uh3k
    @user-qe6kc9uh3k Год назад +1

    Thanks Guruvaa.. 🙂

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

    thank you for the videos

  • @pallavolisowjanya4438
    @pallavolisowjanya4438 2 года назад +2

    Nice explanation sir

  • @rakeshsharma-gp5nf
    @rakeshsharma-gp5nf 2 месяца назад

    Anna knchm chinna ga and clear ga chepu anna chepkuntu velipothunav... Asl thread sleep nti ah elements ela find cheyalii ivvi kudas clear ga chepthe bavundu

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

    learnt a lot from your videos in an very understandable our mother tounge language.
    can you please provide highlight methos in description box. its easy to use so asking

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

      This link has all the codes that have been used in this playlist buddy.
      github.com/YadaGiriReddy/HYR-Tutorials/tree/master/Selenium%20Java%20in%20Telugu

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

    Nice👏👏👏👏

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

    Thank u 🥰🥰

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

    Thank you o much bro

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

    Thanku broo

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

    Super

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

    hi sir great explanation, but sir i need some detail explanation on xpath and css selector is there any video related to this in your play list if yes plz suggest

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

      You can checkout these links for the detailed explanation:
      ruclips.net/p/PLacgMXFs7kl-w3RW5IN0eWVIHsYV8uHdz
      ruclips.net/p/PLacgMXFs7kl8E5xl-nu_7ZjHN0O4oiFcl
      ruclips.net/video/f0oCvbuXmJI/видео.html

  • @theexoticdesignssareecolle5099
    @theexoticdesignssareecolle5099 10 дней назад

    Hi ca n we use this webdriver manager java project as well??

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

    Tq sir

  • @somisetty.sathyanarayana
    @somisetty.sathyanarayana 3 года назад +1

    Hi Sir, Konni videos Verifications checks medha kuda cheyara, mee videos chala bagunai sir

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

      Very soon I will start another series in which I willl be covering that verifications part

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

    in executeScript() what is the 2nd arguement you provided

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

    Superb explanation anna. But na system na script lo thread work avatled. Error message like unhandled exception ani vastundi em cheyalli??

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

      Send me the script and error screenshot on hyadagirireddytutorials@gmail.com

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

    Hi brother thank you for your information doing good job bro . i have written all the code for this class with the 8 locaters but while i am running the program i can able to see only up to git hub page is opening after that it's not running bro can you please advice to get complete result as you get

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

      Are you getting any errors in the console like nosuch element exception buddy?

  • @SanjayPatil-hl9kp
    @SanjayPatil-hl9kp Год назад +1

    Please make selenium series in English for rest of India. We will be very thankful.

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

      Playlist is already available buddy.
      Check this page for all of my videos
      github.com/YadaGiriReddy/HYR-Tutorials

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

    super testng also telugu lo cheyando brother

  • @abhi90522
    @abhi90522 7 месяцев назад

    Sir cals unnaya salenium freshers ki

  • @upendrakuraku493
    @upendrakuraku493 2 года назад +2

    Hi brother,
    I recently started watching your vidoes on selenium and I decided that to take up selenium coaching.
    If training facility is available please let me know the further process brother.
    Thanks in advance.
    Upendra

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

      Currently I'm not taking any personal training buddy

    • @abhi90522
      @abhi90522 7 месяцев назад

      Sir I'm carrier gap student I interested IT job any help to me

  • @kiranKumar-ys5iw
    @kiranKumar-ys5iw Год назад +1

    hi bro i was run code same as you but not able to highlight the text ,can you please guide me ?

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

      Error em vasthundi buddy.
      Send me the screenshots on hyadagirireddytutorials@gmail.com

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

    Hello sir...Miru cheppina selenium videos Laptop Lo practice cheyadam valla Emaina use unttundha ??

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

      Practice cheyyakapothe job ela vastundi buddy

  • @manojkumar-bd2ws
    @manojkumar-bd2ws 2 года назад +1

    Is there any online institutes for functional testing and serinum

  • @MaheshBabu-tn7ni
    @MaheshBabu-tn7ni Год назад +1

    how can i highliht the inputs in web page , where i can get that javascript code ,could u please give that

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

      ruclips.net/video/mTkeNj5tglw/видео.html

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

    in edge browser facebook login page lo tagname chusa ra naku itey kanipichaledhu undha ledha ani doubt undi head tag max chala varuku use cheyaru ani cheparu

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

      tagname anedi lekunda a element ina html lo undadu buddy, check one more time

  • @kishoresai3044
    @kishoresai3044 3 года назад +6

    Hi Giri, Do you have a list of real time scenarios to solve? I see that your website has some practice links but if you have any real time scenarios, it will be helpful. Thanks

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

      You can use any real time website available in internet brother.
      If you want to practice then you can use opensource-demo.orangehrmlive.com/

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

    hi ..am facing error with the highlight method..please explain clearly

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

      Can u mention that error here buddy

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

    Anna website lo devoloper tool Ela open cheyali..I mean em click chesaru please reply anna...

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

      Press F12 in your keyboard or right-click and click on inspect element buddy

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

    Hi Bro,
    Can you leave the code below for highlight or please correct the code below:
    public static void highlight(WebDriver driver, WebElement element) {
    JavascriptExecutor jsExecutor = (JavascriptExecutor) driver;
    jsExecutor.executeScript("arguments[0].setAttribute('style','border:5px red solid;background:yellow');"

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

      After yellow text, you have to pass the webelement instance i.e element

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

      @@HYRTutorials i am sorry bro, i am not from coading background.
      Can you send me the right one after you edit here...plZ

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

      Hi bro,
      Any update on my request plz.
      I am on of your follower

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

      jsExecutor.executeScript("arguments[0].setAttribute('style','border:5px red solid;background:yellow');", element);

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

    naku page open avtundi but locations ni identify cheyyatla

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

    Hi broh I need direct training..is it possible..

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

      No bro
      I'm not taking any classes currently.
      Anyway you can get the same knowledge at free of cost here na

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

    Hlo sir username or email dagara inspect chesthunaru kadandi sir akada oka vella id lekunte .name undi and password ki kuda same unte appudu am cheyali.Ala cheyali chepandi sir

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

      U can either use index or create an xpath by which you can identify the element in a unique way

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

      Tq u sir

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

    In WebDriver suggestions, Why I'm not getting WebDriveManager as suggestion? Can you please tell me this

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

      Checkout this video buddy
      ruclips.net/video/oIhRNl5q3OI/видео.html

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

      @@HYRTutorials Thank you 😇

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

    WebDriverManager dagara errors vastundi import ravatam ledhu webDriverManger ki

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

      Watch this video buddy: ruclips.net/video/oIhRNl5q3OI/видео.html

  • @user-vm6zm4tu5h
    @user-vm6zm4tu5h Год назад

    hi sir actually i need manual testing and automation testing full stock pettara plzzz

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

      Only automation testing maathrame unnai buddy at this time

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

    On Ap_testing (postman) video chayandi bro.

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

      i have the plans for that but not immediately

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

      @@HYRTutorials ok bro,I'm waiting & exciting for ur videos. When you have free time for making videos then only u can do .

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

    Git link is not working can u please check once

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

      checked and is working fine buddy
      if u r facing any issue with link, send me the screenshot on hyadagirireddytutorials@gmail.com

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

    Sir Div means, can tell me anyone

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

      Div ante division tag.
      HTML page ni compartments ga divide cheyyadaniki div use cheskuntam

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

    Sir,Your Github repository link?

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

    JavascriptExecutor cannot be resolved to a type I am getting this error. Any one tell me how to resolve this

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

    Plz provide the developer tools link....

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

      Press F12 in your keyboard or right click on any element and click on inspect

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

    Code antha same rasanu elements are not highlighted sir can u please guide

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

      Are you getting any exception or error in the console?

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

      @@HYRTutorials no bro only webpage is opening

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

      Can u record it as a video and send me the video on hyadagirireddytutorials@gmail.com

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

    Thread.sleep ki exception ela through cheyali sir

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

      thread.sleep statement raasina tarvatha daani meeda mouse hover chesthe exception throw cheyyadaniki or try catch add cheyyadaniki option vastadi.
      Andulo exception throw chese option pick chesko buddy

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

      @@HYRTutorials thank you

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

    web elements ni ela open chesaru

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

      HTML Dom lo Ctrl+F press cheyyi buddy

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

    Bayya please rply.. Naku webdrivermanager rastunte vati import ravadam ldu... Malli nxt nenu dependency lo webdrivermanager dependency add cheste add kavadam ldu... And nxt nadi eppudu least version eppude nerchukunttunna but dependency add kavadam ledu please rply

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

      WebdriverManger. Chrome driver(). Setup evi em chupinchadam ldu nenu type chestunte so please explain

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

      Pom. Xml lo

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

      Tha error is webdrivermanager cannot be resolved

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

      First check this video
      ruclips.net/video/oIhRNl5q3OI/видео.html
      If it helps you then you are good.
      If not send me the screenshots on hyadagirireddytutorials@gmail.com

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

      K tq bayya

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

    Hi sir, I am also following your videos , but i got this error in program Error: Unable to initialize main class automationtesting.BasicMethod what can i do....please tell me sir.

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

      Send me the screenshot on hyadagirireddytutorials@gmail.com

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

    I'm getting error for the highlight word please resolve

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

      Send me the screenshot on hyadagirireddytutorials@gmail.com

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

    Bro ippudu malli HTML nerchukovalla??

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

      Basics of HTML vachi unte better buddy

  • @lucky-thalli-2022
    @lucky-thalli-2022 2 года назад +1

    Anna naku xpath detailed video kavali.. Link share cheyyara please

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

      Here is the link buddy
      ruclips.net/video/ilTFwMV3lHk/видео.html
      For any video just check the pinned comment buddy. It has the link for all the playlists

    • @lucky-thalli-2022
      @lucky-thalli-2022 2 года назад +1

      @@HYRTutorials thank you for reply anna

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

    anna, nen code nuv raasinatte type chesa
    kani elements highlight avvatledu...🥲🥲

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

      Emanna errors vasthunnaya buddy

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

      @@HYRTutorials ledu, Java version valla kuda ala avutundha

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

      @@perumallamanohar4721 Java version doesnt effect that buddy,

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

    Bro naku highlight avatledhu

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

      Emanna errors vasthunnaya buddy?

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

    How to download function

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

    Yes i got it facebook mida code chupincharu

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

    Span tag option cheppu anna

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

    I am looking ur trainning

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

      Currently I'm not providing any training buddy

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

      @@HYRTutorials ok thank u sir me playlist lo unna videos saripothai aa sir to learn selenium with Java

  • @N.raju8247
    @N.raju8247 2 года назад +1

    Hi anna locater identify kavatam ledhu anna help me anna

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

      Is that element present inside any frame?

    • @N.raju8247
      @N.raju8247 2 года назад

      Ardham kaledhu anna

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

      aa element emanna frame lo unda check chei buddy

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

    locators program is ok not running bro

  • @p.venkatasivarohitsivarohi3298
    @p.venkatasivarohitsivarohi3298 Год назад +1

    need a postman tool

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

    Login and password ante emi evvali sir

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

    At 17:19 you got one search box . Could you please explain how did you get that ?

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

      Press Ctrl+F inside the developer tools buddy

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

    References ela import cheyali bro

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

      Manam kavalsina class or interface raasi Ctrl+space press chesthe import cheskodaniki suggestions chupisthundi

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

      Tq

  • @Narendrakumar-ct2gm
    @Narendrakumar-ct2gm Год назад +1

    public static void highlight(WebDriver driver, WebElement element) {
    JavascriptExecutor jsExecutor = (JavascriptExecutor) driver;
    jsExecutor.executeScript("arguments[0].setAttribute('style', 'background: yellow; border: 2px solid red;');", element);
    }
    Hi Yadagiri bro,
    I can't able to execute the script in this video If I don't add the above line.
    If possible Could You Please Explain Why?
    Thank you.

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

      Which line you have added here buddy?

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

    naku webdrivermanager.chromedriver.setup() dhaggara error vastundhi

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

      Watch this video buddy:
      ruclips.net/video/oIhRNl5q3OI/видео.html

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

      @@HYRTutorials ante na lapi lo webDriverManager ledu ana?

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

      Adi download chesthene kada daanitho work chestam buddy

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

      @@HYRTutorials chesanu andi

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

      Issue ipdu solve indi ha

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

    Are these tutorials enough brother?

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

    i tried to run the same program but facing below error:Can you please suggest on this:Exception in thread "main" org.openqa.selenium.JavascriptException: javascript error: Cannot read properties of undefined (reading 'setAttribute')
    (Session info: chrome=97.0.4692.71)

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

      May be the element that u are looking for is not found and because of that it is trying to perform the operation on undefined.
      What is the line you have written?

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

    Sir programme is running but at the end only one element is highlighted not all y sir

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

      May be the element information is modified. are you getting any error in console?

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

      No error sir

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

      Try highlighting the elements individually and check once buddy

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

    Ur not saying detailing

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

      Which part u felt is not good?
      I can improve that

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

      @@HYRTutorials selenium part 3 in telugu

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

      @@sushmajadiary8946 ardam avvaledu

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

      @@HYRTutorials meru selenium telugu part 3 lo variables gurinchi clear ga chepaledhu I'm beginner and I don't know how to write html also ur saying int variable it's hard to understand

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

      @@sushmajadiary8946 ohh ok
      Mee problem ardam indi kaani nenu java basics ni kooda selenium videos lo chepthe videos chala lengthy avthai.
      And inko important thing enti ante selenium nerchukovali annappudu java basics anedi chala important. So evaru ina selenium nerchukovali ante vaallu first java nerchukovali.
      So java is a pre requisite for selenium.
      Java programming basics teliakunda selenium nerchukunte manam script raastam emo kaani daani meeda manaku 100% understanding undadu.

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

    Hai sir page login ayina tarvatha colour ivatam ledhu