Open dsingh901 opened 6 years ago
... This is a headless browser. Meaning there are no windows.
Ya I know that but the thing is I want to click on a button which opens up the confirmation pop up for yes or no. This is where it got stuck and throw that no element found. However, I have tried every element of this button + xpath as well.
When i click on a submit button in phantomjs it is working fine but when i fill some data into the blank fields then the submit button is not getting clicked. It throws not found element error.
Version of Phantomjs is 2.1.1
Problem - When my Protractor script try to click a button (tried with every element of that button), it should ideally open a popup within the same screen. However, it works fine when it runs through Chrome. When we run the same functionality using PhantomJs , it is not completing the previous step that is responsible for opening the pop up.
For example, it is not clicking a button that should open a pop up, it is not clicking an PDF icon that also opens the pop up but, it all works fine when using Chrome browser.
Any Suggestions?