Selenium for VBA - element not found error












0















I have been using a code since long time , but recently there is a new banner up which is hiding the element that I am trying to click.
Attaching the snapshot of error. The only help I need is I need to click the hidden element( if the browser window is maximized the element is visible).



error image.



Please help me.










share|improve this question

























  • Welcome to Stack Overflow! You'll be more likely to get help if you were to edit your question to include the problematic code, as well as the section of html that changed, and he attempt that you've made to solve the issue on your own. (See "How to Ask" as well as how to create a Minimal, Complete, and Verifiable example.)

    – ashleedawg
    Nov 13 '18 at 6:46











  • Please insert code between code tags not as an image.

    – QHarr
    Nov 13 '18 at 7:13
















0















I have been using a code since long time , but recently there is a new banner up which is hiding the element that I am trying to click.
Attaching the snapshot of error. The only help I need is I need to click the hidden element( if the browser window is maximized the element is visible).



error image.



Please help me.










share|improve this question

























  • Welcome to Stack Overflow! You'll be more likely to get help if you were to edit your question to include the problematic code, as well as the section of html that changed, and he attempt that you've made to solve the issue on your own. (See "How to Ask" as well as how to create a Minimal, Complete, and Verifiable example.)

    – ashleedawg
    Nov 13 '18 at 6:46











  • Please insert code between code tags not as an image.

    – QHarr
    Nov 13 '18 at 7:13














0












0








0








I have been using a code since long time , but recently there is a new banner up which is hiding the element that I am trying to click.
Attaching the snapshot of error. The only help I need is I need to click the hidden element( if the browser window is maximized the element is visible).



error image.



Please help me.










share|improve this question
















I have been using a code since long time , but recently there is a new banner up which is hiding the element that I am trying to click.
Attaching the snapshot of error. The only help I need is I need to click the hidden element( if the browser window is maximized the element is visible).



error image.



Please help me.







vba selenium web-scraping selenium-chromedriver






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 '18 at 7:33









QHarr

31.2k81941




31.2k81941










asked Nov 13 '18 at 6:30









Bhaskar RavuriBhaskar Ravuri

101




101













  • Welcome to Stack Overflow! You'll be more likely to get help if you were to edit your question to include the problematic code, as well as the section of html that changed, and he attempt that you've made to solve the issue on your own. (See "How to Ask" as well as how to create a Minimal, Complete, and Verifiable example.)

    – ashleedawg
    Nov 13 '18 at 6:46











  • Please insert code between code tags not as an image.

    – QHarr
    Nov 13 '18 at 7:13



















  • Welcome to Stack Overflow! You'll be more likely to get help if you were to edit your question to include the problematic code, as well as the section of html that changed, and he attempt that you've made to solve the issue on your own. (See "How to Ask" as well as how to create a Minimal, Complete, and Verifiable example.)

    – ashleedawg
    Nov 13 '18 at 6:46











  • Please insert code between code tags not as an image.

    – QHarr
    Nov 13 '18 at 7:13

















Welcome to Stack Overflow! You'll be more likely to get help if you were to edit your question to include the problematic code, as well as the section of html that changed, and he attempt that you've made to solve the issue on your own. (See "How to Ask" as well as how to create a Minimal, Complete, and Verifiable example.)

– ashleedawg
Nov 13 '18 at 6:46





Welcome to Stack Overflow! You'll be more likely to get help if you were to edit your question to include the problematic code, as well as the section of html that changed, and he attempt that you've made to solve the issue on your own. (See "How to Ask" as well as how to create a Minimal, Complete, and Verifiable example.)

– ashleedawg
Nov 13 '18 at 6:46













Please insert code between code tags not as an image.

– QHarr
Nov 13 '18 at 7:13





Please insert code between code tags not as an image.

– QHarr
Nov 13 '18 at 7:13












2 Answers
2






active

oldest

votes


















0














If what you have said is true then you can use the following to maximize the window before clicking:



driver.Window.Maximize


Other options include:



1) Removing the banner
2) Scrolling the element into view



Can't write anything decent for those last two as your code is an image and I don't have a full URL to test with. You also haven't included the relevant HTML.






share|improve this answer































    0














    The "div.container-fluid" element is blocking the button you are trying to click.
    You could try some of the following (as being shown here Element MyElement is not clickable at point (x, y)... Other element would receive the click):




    1. prolong the wait before the click

    2. use javascript executor






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53275067%2fselenium-for-vba-element-not-found-error%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      If what you have said is true then you can use the following to maximize the window before clicking:



      driver.Window.Maximize


      Other options include:



      1) Removing the banner
      2) Scrolling the element into view



      Can't write anything decent for those last two as your code is an image and I don't have a full URL to test with. You also haven't included the relevant HTML.






      share|improve this answer




























        0














        If what you have said is true then you can use the following to maximize the window before clicking:



        driver.Window.Maximize


        Other options include:



        1) Removing the banner
        2) Scrolling the element into view



        Can't write anything decent for those last two as your code is an image and I don't have a full URL to test with. You also haven't included the relevant HTML.






        share|improve this answer


























          0












          0








          0







          If what you have said is true then you can use the following to maximize the window before clicking:



          driver.Window.Maximize


          Other options include:



          1) Removing the banner
          2) Scrolling the element into view



          Can't write anything decent for those last two as your code is an image and I don't have a full URL to test with. You also haven't included the relevant HTML.






          share|improve this answer













          If what you have said is true then you can use the following to maximize the window before clicking:



          driver.Window.Maximize


          Other options include:



          1) Removing the banner
          2) Scrolling the element into view



          Can't write anything decent for those last two as your code is an image and I don't have a full URL to test with. You also haven't included the relevant HTML.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 13 '18 at 7:19









          QHarrQHarr

          31.2k81941




          31.2k81941

























              0














              The "div.container-fluid" element is blocking the button you are trying to click.
              You could try some of the following (as being shown here Element MyElement is not clickable at point (x, y)... Other element would receive the click):




              1. prolong the wait before the click

              2. use javascript executor






              share|improve this answer




























                0














                The "div.container-fluid" element is blocking the button you are trying to click.
                You could try some of the following (as being shown here Element MyElement is not clickable at point (x, y)... Other element would receive the click):




                1. prolong the wait before the click

                2. use javascript executor






                share|improve this answer


























                  0












                  0








                  0







                  The "div.container-fluid" element is blocking the button you are trying to click.
                  You could try some of the following (as being shown here Element MyElement is not clickable at point (x, y)... Other element would receive the click):




                  1. prolong the wait before the click

                  2. use javascript executor






                  share|improve this answer













                  The "div.container-fluid" element is blocking the button you are trying to click.
                  You could try some of the following (as being shown here Element MyElement is not clickable at point (x, y)... Other element would receive the click):




                  1. prolong the wait before the click

                  2. use javascript executor







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 13 '18 at 12:04









                  Mate MršeMate Mrše

                  1,4091426




                  1,4091426






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53275067%2fselenium-for-vba-element-not-found-error%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Florida Star v. B. J. F.

                      Danny Elfman

                      Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues