Selenium::WebDriver::Error::ElementNotVisibleError: element not interactable jenkins Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!How to take screenshot with Selenium WebDriverSelenium Web Driver ErrorSelenium element not visible?Error when trying to execute drag and drop using javascript for Selenium WebDriver testGetting an Error while locating an element using xpath in Selenium 3Chrome 61, chrome driver 2.32,Uncaught WebDriverError: unknown error: Chrome failed to start: crashed (Driver info: chromedriver=2.32.498513watir - is it able to use watir-webdriver and selenium-webdriver in the same time?Webdriver doesnt click on Google SearchError with using chrome headless browser for python selenium based test cases on CentOSUse Selenium with headless Chrome Webdriver for password login

Fit odd number of triplets in a measure?

malloc in main() or malloc in another function: allocating memory for a struct and its members

"Destructive power" carried by a B-52?

How do I find my Spellcasting Ability for my D&D character?

An isoperimetric-type inequality inside a cube

Any stored/leased 737s that could substitute for grounded MAXs?

Flight departed from the gate 5 min before scheduled departure time. Refund options

Was the pager message from Nick Fury to Captain Marvel unnecessary?

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

Problem with display of presentation

Getting representations of the Lie group out of representations of its Lie algebra

The test team as an enemy of development? And how can this be avoided?

What does 丫 mean? 丫是什么意思?

Why can't fire hurt Daenerys but it did to Jon Snow in season 1?

Pointing to problems without suggesting solutions

How to name indistinguishable henchmen in a screenplay?

Short story about astronauts fertilizing soil with their own bodies

.bashrc alias for a command with fixed second parameter

3D Masyu - A Die

How to make an animal which can only breed for a certain number of generations?

Understanding piped commands in GNU/Linux

Determine whether an integer is a palindrome

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

How to achieve cat-like agility?



Selenium::WebDriver::Error::ElementNotVisibleError: element not interactable jenkins



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!How to take screenshot with Selenium WebDriverSelenium Web Driver ErrorSelenium element not visible?Error when trying to execute drag and drop using javascript for Selenium WebDriver testGetting an Error while locating an element using xpath in Selenium 3Chrome 61, chrome driver 2.32,Uncaught WebDriverError: unknown error: Chrome failed to start: crashed (Driver info: chromedriver=2.32.498513watir - is it able to use watir-webdriver and selenium-webdriver in the same time?Webdriver doesnt click on Google SearchError with using chrome headless browser for python selenium based test cases on CentOSUse Selenium with headless Chrome Webdriver for password login



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















logs:



Organization flow Successfull case Organization should be created successfully.
Failure/Error: find('#submit_requirements_crawl_type_1', visible: false).click

Selenium::WebDriver::Error::ElementNotVisibleError:
element not interactable
(Session info: headless chrome=72.0.3626.119)
(Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.9.0-7-amd64 x86_64)


I tried maximum examples that were present in stack overflow and couple of other sites.



Few code samples:



find(:xpath, "//label[@for='submit_requirements_crawl_type_1']").click
find(:xpath, "//label[@for='submit_requirements_output_format_0']").click

find('#submit_requirements_crawl_type_1', visible: false).click
find('#submit_requirements_output_format_0', visible: false).click

find('label', text: "submit_requirements_crawl_type_2").click
find('label', text: "submit_requirements_output_format_0").click

choose('Full Crawl', :visible => true)
choose('JSON', :visible => true)




<div class="radio radio-info radio-inline">
<input type="radio" value="1" name="submit_requirements[crawl_type]" id="submit_requirements_crawl_type_1">
<label for="submit_requirements_crawl_type_1">Full Crawl</label>
</div>


Note:



It working fine in development environment with both headless and head chrome webdriver










share|improve this question
























  • Can you please add the html for that area and the error that you are getting.

    – supputuri
    Mar 22 at 13:02











  • I just updated the question .. plz check it.

    – Ganesh Raju
    Mar 22 at 13:07











  • Have you tried find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click.

    – supputuri
    Mar 22 at 13:37











  • @supputuri i will try that now.

    – Ganesh Raju
    Mar 22 at 13:41











  • Again failure: Failure/Error: find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click Capybara::ElementNotFound: Unable to find xpath "//input[@id='submit_requirements_crawl_type_1']"

    – Ganesh Raju
    Mar 22 at 13:45


















0















logs:



Organization flow Successfull case Organization should be created successfully.
Failure/Error: find('#submit_requirements_crawl_type_1', visible: false).click

Selenium::WebDriver::Error::ElementNotVisibleError:
element not interactable
(Session info: headless chrome=72.0.3626.119)
(Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.9.0-7-amd64 x86_64)


I tried maximum examples that were present in stack overflow and couple of other sites.



Few code samples:



find(:xpath, "//label[@for='submit_requirements_crawl_type_1']").click
find(:xpath, "//label[@for='submit_requirements_output_format_0']").click

find('#submit_requirements_crawl_type_1', visible: false).click
find('#submit_requirements_output_format_0', visible: false).click

find('label', text: "submit_requirements_crawl_type_2").click
find('label', text: "submit_requirements_output_format_0").click

choose('Full Crawl', :visible => true)
choose('JSON', :visible => true)




<div class="radio radio-info radio-inline">
<input type="radio" value="1" name="submit_requirements[crawl_type]" id="submit_requirements_crawl_type_1">
<label for="submit_requirements_crawl_type_1">Full Crawl</label>
</div>


Note:



It working fine in development environment with both headless and head chrome webdriver










share|improve this question
























  • Can you please add the html for that area and the error that you are getting.

    – supputuri
    Mar 22 at 13:02











  • I just updated the question .. plz check it.

    – Ganesh Raju
    Mar 22 at 13:07











  • Have you tried find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click.

    – supputuri
    Mar 22 at 13:37











  • @supputuri i will try that now.

    – Ganesh Raju
    Mar 22 at 13:41











  • Again failure: Failure/Error: find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click Capybara::ElementNotFound: Unable to find xpath "//input[@id='submit_requirements_crawl_type_1']"

    – Ganesh Raju
    Mar 22 at 13:45














0












0








0








logs:



Organization flow Successfull case Organization should be created successfully.
Failure/Error: find('#submit_requirements_crawl_type_1', visible: false).click

Selenium::WebDriver::Error::ElementNotVisibleError:
element not interactable
(Session info: headless chrome=72.0.3626.119)
(Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.9.0-7-amd64 x86_64)


I tried maximum examples that were present in stack overflow and couple of other sites.



Few code samples:



find(:xpath, "//label[@for='submit_requirements_crawl_type_1']").click
find(:xpath, "//label[@for='submit_requirements_output_format_0']").click

find('#submit_requirements_crawl_type_1', visible: false).click
find('#submit_requirements_output_format_0', visible: false).click

find('label', text: "submit_requirements_crawl_type_2").click
find('label', text: "submit_requirements_output_format_0").click

choose('Full Crawl', :visible => true)
choose('JSON', :visible => true)




<div class="radio radio-info radio-inline">
<input type="radio" value="1" name="submit_requirements[crawl_type]" id="submit_requirements_crawl_type_1">
<label for="submit_requirements_crawl_type_1">Full Crawl</label>
</div>


Note:



It working fine in development environment with both headless and head chrome webdriver










share|improve this question
















logs:



Organization flow Successfull case Organization should be created successfully.
Failure/Error: find('#submit_requirements_crawl_type_1', visible: false).click

Selenium::WebDriver::Error::ElementNotVisibleError:
element not interactable
(Session info: headless chrome=72.0.3626.119)
(Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.9.0-7-amd64 x86_64)


I tried maximum examples that were present in stack overflow and couple of other sites.



Few code samples:



find(:xpath, "//label[@for='submit_requirements_crawl_type_1']").click
find(:xpath, "//label[@for='submit_requirements_output_format_0']").click

find('#submit_requirements_crawl_type_1', visible: false).click
find('#submit_requirements_output_format_0', visible: false).click

find('label', text: "submit_requirements_crawl_type_2").click
find('label', text: "submit_requirements_output_format_0").click

choose('Full Crawl', :visible => true)
choose('JSON', :visible => true)




<div class="radio radio-info radio-inline">
<input type="radio" value="1" name="submit_requirements[crawl_type]" id="submit_requirements_crawl_type_1">
<label for="submit_requirements_crawl_type_1">Full Crawl</label>
</div>


Note:



It working fine in development environment with both headless and head chrome webdriver







ruby-on-rails-4 selenium-webdriver capybara jenkins-cli






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 23 at 10:54







Ganesh Raju

















asked Mar 22 at 12:59









Ganesh RajuGanesh Raju

145




145












  • Can you please add the html for that area and the error that you are getting.

    – supputuri
    Mar 22 at 13:02











  • I just updated the question .. plz check it.

    – Ganesh Raju
    Mar 22 at 13:07











  • Have you tried find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click.

    – supputuri
    Mar 22 at 13:37











  • @supputuri i will try that now.

    – Ganesh Raju
    Mar 22 at 13:41











  • Again failure: Failure/Error: find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click Capybara::ElementNotFound: Unable to find xpath "//input[@id='submit_requirements_crawl_type_1']"

    – Ganesh Raju
    Mar 22 at 13:45


















  • Can you please add the html for that area and the error that you are getting.

    – supputuri
    Mar 22 at 13:02











  • I just updated the question .. plz check it.

    – Ganesh Raju
    Mar 22 at 13:07











  • Have you tried find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click.

    – supputuri
    Mar 22 at 13:37











  • @supputuri i will try that now.

    – Ganesh Raju
    Mar 22 at 13:41











  • Again failure: Failure/Error: find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click Capybara::ElementNotFound: Unable to find xpath "//input[@id='submit_requirements_crawl_type_1']"

    – Ganesh Raju
    Mar 22 at 13:45

















Can you please add the html for that area and the error that you are getting.

– supputuri
Mar 22 at 13:02





Can you please add the html for that area and the error that you are getting.

– supputuri
Mar 22 at 13:02













I just updated the question .. plz check it.

– Ganesh Raju
Mar 22 at 13:07





I just updated the question .. plz check it.

– Ganesh Raju
Mar 22 at 13:07













Have you tried find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click.

– supputuri
Mar 22 at 13:37





Have you tried find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click.

– supputuri
Mar 22 at 13:37













@supputuri i will try that now.

– Ganesh Raju
Mar 22 at 13:41





@supputuri i will try that now.

– Ganesh Raju
Mar 22 at 13:41













Again failure: Failure/Error: find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click Capybara::ElementNotFound: Unable to find xpath "//input[@id='submit_requirements_crawl_type_1']"

– Ganesh Raju
Mar 22 at 13:45






Again failure: Failure/Error: find(:xpath, "//input[@id='submit_requirements_crawl_type_1']").click Capybara::ElementNotFound: Unable to find xpath "//input[@id='submit_requirements_crawl_type_1']"

– Ganesh Raju
Mar 22 at 13:45













1 Answer
1






active

oldest

votes


















0














If you have to specify visible: false in order to locate an element you won't be able to click it since you can't click elements that aren't visible on the page.



Seeing that it's a radio button my initial reaction is that you have CSS that is hiding the actual radio button and replacing it with an image for styling reasons (make it look like a toggle, etc). If that is the case then you can have Capybara click on the label instead with



choose('Full Crawl', allow_label_click: true)


However, assuming your statement "It working fine in development environment with both headless and head chrome webdriver" means you've run the tests in the dev environment and they're fine it would tend to indicate you have an error somewhere in your JS. In the dev environment an error in one JS file doesn't prevent the rest of the JS files from being processed, however in the test (and production) environment the JS files are concatenated into one file which means an error in any file can prevent JS concatenated after that error from being run. Check your browser console when visiting the page and fix any errors reported.






share|improve this answer























  • It just need some delay. Thank you for your time.

    – Ganesh Raju
    Mar 26 at 6:16











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%2f55300178%2fseleniumwebdrivererrorelementnotvisibleerror-element-not-interactable-jen%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














If you have to specify visible: false in order to locate an element you won't be able to click it since you can't click elements that aren't visible on the page.



Seeing that it's a radio button my initial reaction is that you have CSS that is hiding the actual radio button and replacing it with an image for styling reasons (make it look like a toggle, etc). If that is the case then you can have Capybara click on the label instead with



choose('Full Crawl', allow_label_click: true)


However, assuming your statement "It working fine in development environment with both headless and head chrome webdriver" means you've run the tests in the dev environment and they're fine it would tend to indicate you have an error somewhere in your JS. In the dev environment an error in one JS file doesn't prevent the rest of the JS files from being processed, however in the test (and production) environment the JS files are concatenated into one file which means an error in any file can prevent JS concatenated after that error from being run. Check your browser console when visiting the page and fix any errors reported.






share|improve this answer























  • It just need some delay. Thank you for your time.

    – Ganesh Raju
    Mar 26 at 6:16















0














If you have to specify visible: false in order to locate an element you won't be able to click it since you can't click elements that aren't visible on the page.



Seeing that it's a radio button my initial reaction is that you have CSS that is hiding the actual radio button and replacing it with an image for styling reasons (make it look like a toggle, etc). If that is the case then you can have Capybara click on the label instead with



choose('Full Crawl', allow_label_click: true)


However, assuming your statement "It working fine in development environment with both headless and head chrome webdriver" means you've run the tests in the dev environment and they're fine it would tend to indicate you have an error somewhere in your JS. In the dev environment an error in one JS file doesn't prevent the rest of the JS files from being processed, however in the test (and production) environment the JS files are concatenated into one file which means an error in any file can prevent JS concatenated after that error from being run. Check your browser console when visiting the page and fix any errors reported.






share|improve this answer























  • It just need some delay. Thank you for your time.

    – Ganesh Raju
    Mar 26 at 6:16













0












0








0







If you have to specify visible: false in order to locate an element you won't be able to click it since you can't click elements that aren't visible on the page.



Seeing that it's a radio button my initial reaction is that you have CSS that is hiding the actual radio button and replacing it with an image for styling reasons (make it look like a toggle, etc). If that is the case then you can have Capybara click on the label instead with



choose('Full Crawl', allow_label_click: true)


However, assuming your statement "It working fine in development environment with both headless and head chrome webdriver" means you've run the tests in the dev environment and they're fine it would tend to indicate you have an error somewhere in your JS. In the dev environment an error in one JS file doesn't prevent the rest of the JS files from being processed, however in the test (and production) environment the JS files are concatenated into one file which means an error in any file can prevent JS concatenated after that error from being run. Check your browser console when visiting the page and fix any errors reported.






share|improve this answer













If you have to specify visible: false in order to locate an element you won't be able to click it since you can't click elements that aren't visible on the page.



Seeing that it's a radio button my initial reaction is that you have CSS that is hiding the actual radio button and replacing it with an image for styling reasons (make it look like a toggle, etc). If that is the case then you can have Capybara click on the label instead with



choose('Full Crawl', allow_label_click: true)


However, assuming your statement "It working fine in development environment with both headless and head chrome webdriver" means you've run the tests in the dev environment and they're fine it would tend to indicate you have an error somewhere in your JS. In the dev environment an error in one JS file doesn't prevent the rest of the JS files from being processed, however in the test (and production) environment the JS files are concatenated into one file which means an error in any file can prevent JS concatenated after that error from being run. Check your browser console when visiting the page and fix any errors reported.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 23 at 15:59









Thomas WalpoleThomas Walpole

32.3k33153




32.3k33153












  • It just need some delay. Thank you for your time.

    – Ganesh Raju
    Mar 26 at 6:16

















  • It just need some delay. Thank you for your time.

    – Ganesh Raju
    Mar 26 at 6:16
















It just need some delay. Thank you for your time.

– Ganesh Raju
Mar 26 at 6:16





It just need some delay. Thank you for your time.

– Ganesh Raju
Mar 26 at 6:16



















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%2f55300178%2fseleniumwebdrivererrorelementnotvisibleerror-element-not-interactable-jen%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

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현