question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Access popup page

See original GitHub issue

Hey everybody,

I’ve been studying cypress and doing some tests but I have a doubt and cant find a answer.

I have a HTML page and a button who open a popup page:

<input type="button" id="Mybutton" value="Abrir Popup" onClick="javascript:createPopup('')">
function createPopup(title){
	var popup = open("", title, "width=300,height=200");
	var txt = popup.document.createElement("TEXTAREA");

	popup.document.body.appendChild(txt);
}

How can I access the popup page and the components?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sugu-pbcommented, Oct 9, 2020

Hi @jennifer-shehane, I have spent a whole good week in investigating how can I automate Google Pay integration in our checkout but couldn’t find a solution as with Google Pay I need to have a valid googlePayToken to make API calls, and I can only get token if I hit pay button on Google Pay pop-up. I understand you guys don’t encourage people to automate 3rd party application, but I feel that’s a very generic approach. Every project is different with different needs, so even if it is not recommended, there should be a way to automate 3rd party pop-ups/authentication etc. Also, I would really appreciate if you or anyone else can suggest me a way of automating Google Pay with Cypress.

0reactions
janat08commented, Nov 21, 2021

I found auto stub plugin which supports version 5 cypress. Perhaps that could be offered as alternative after upgrading it. You could also provide mocks of popular derives for login and payment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Form.PopUp property (Access) - Microsoft Learn
Specifies whether a form opens as a pop-up window. Read/write Boolean. ... It remains on top of all other Microsoft Access windows.
Read more >
How do I make a form in Access become a Pop-up Window?
Go to File ¬ Options and select the "Current Database" option on the left side. In that option list there is a section...
Read more >
Create a pop-up form in Access | TechRepublic
If users need to access data that is not on their forms, you could add a subform; or, you can add a command...
Read more >
Access: Pop-Up Forms - Strategic Finance
Whether it's a sign-up form for a website or a dialog box for formatting cells in Excel, a contextual pop-up form is a...
Read more >
Modal & Popup Forms in Microsoft Access
Only students may post on this page. Click here for more information on how you can set up an account. If you are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found