Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Fun With Selenium

Fun With Selenium

Scheduled Pinned Locked Moved The Lounge
comfunctional
8 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #1

    Selenium throws an exception when trying to access an element that's hidden, so I was rather amused by this comment on SO: You need to wrap the "IsDisplayed" in a try catch. "IsDisplayed" can only be called if the element exists. "Exists" means "visible". :rolleyes: Marc

    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

    L C S B C 5 Replies Last reply
    0
    • M Marc Clifton

      Selenium throws an exception when trying to access an element that's hidden, so I was rather amused by this comment on SO: You need to wrap the "IsDisplayed" in a try catch. "IsDisplayed" can only be called if the element exists. "Exists" means "visible". :rolleyes: Marc

      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      That's OOP: Ostrich Oriented Programming. Stick your head into the sand and you don't see anything and what you can't see does not exist.

      The language is JavaScript. that of Mordor, which I will not utter here
      This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
      "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

      1 Reply Last reply
      0
      • M Marc Clifton

        Selenium throws an exception when trying to access an element that's hidden, so I was rather amused by this comment on SO: You need to wrap the "IsDisplayed" in a try catch. "IsDisplayed" can only be called if the element exists. "Exists" means "visible". :rolleyes: Marc

        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

        C Offline
        C Offline
        Colin Mullikin
        wrote on last edited by
        #3

        I was quite disappointed by this post. I thought it was going to involve quite a bit more Head & Shoulders[^] than it actually did...

        The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

        M 1 Reply Last reply
        0
        • M Marc Clifton

          Selenium throws an exception when trying to access an element that's hidden, so I was rather amused by this comment on SO: You need to wrap the "IsDisplayed" in a try catch. "IsDisplayed" can only be called if the element exists. "Exists" means "visible". :rolleyes: Marc

          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

          S Offline
          S Offline
          Silvabolt
          wrote on last edited by
          #4

          So IsDisplayed returns "true" or "exception" more or less... :doh:

          C 1 Reply Last reply
          0
          • C Colin Mullikin

            I was quite disappointed by this post. I thought it was going to involve quite a bit more Head & Shoulders[^] than it actually did...

            The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #5

            Colin Mullikin wrote:

            I thought it was going to involve quite a bit more Head & Shoulders[^] than it actually did...

            :laugh: Marc

            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

            1 Reply Last reply
            0
            • M Marc Clifton

              Selenium throws an exception when trying to access an element that's hidden, so I was rather amused by this comment on SO: You need to wrap the "IsDisplayed" in a try catch. "IsDisplayed" can only be called if the element exists. "Exists" means "visible". :rolleyes: Marc

              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

              B Offline
              B Offline
              Brisingr Aerowing
              wrote on last edited by
              #6

              :doh:

              What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

              1 Reply Last reply
              0
              • S Silvabolt

                So IsDisplayed returns "true" or "exception" more or less... :doh:

                C Offline
                C Offline
                Colin Mullikin
                wrote on last edited by
                #7

                Seems pretty straightforward to me... :laugh:

                The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                1 Reply Last reply
                0
                • M Marc Clifton

                  Selenium throws an exception when trying to access an element that's hidden, so I was rather amused by this comment on SO: You need to wrap the "IsDisplayed" in a try catch. "IsDisplayed" can only be called if the element exists. "Exists" means "visible". :rolleyes: Marc

                  Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #8

                  If an element falls in a forest and no one hears it...

                  cheers Chris Maunder

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups