javascript - c#:Error Element is not currently visible and so may not be interacted with -
javascript - c#:Error Element is not currently visible and so may not be interacted with -
i proceeding little project test automation. using c# selinium webdriver, , encountered blocker, webelements not visible or allow me has property 'displayed' set 'false', , cannot perform action on webelements(for instance click checkbox), have tried google little bit have suggested resizing browser window within code, whitch didn't help, found hints using javascript solve problem, not aware how can utilize javascript code c# didn't create it. helpful thoughts much appreciated (also adding note here , problem not related how fast test executes , because issue while project in debug mode , have break points)
i found solution particular issue , follow , lets element 'input' , element have parameter displayed set 'false' tried successively previous parent web element in tree .and 1 time found closest parent webelement able manipulate input element , not sure why working in way , solved problem !
javascript c# selenium-webdriver
Comments
Post a Comment