problem with clicking on a button in a connection popup dialog using protractor - protractor

my problem is in the attached picture,
I have tried in many many different way but non of them will cause clicking on this button
tried ways like: element(by.css.....), element(by.apath.....), element(by.className.....) and many more
when using 'element' i get the error, 'element is not a function'
any way, big thanks in advance:)
enter image description here
enter image description here

Related

PersistentWidget not staying between Navigations

I'm new to Flutter and I'm making a game just for fun, and I have a problem, I want a menu in the bottom of the screen to navigate between screens, so I made this:
enter image description here
enter image description here
Okay, this is my main:
enter image description here
When I start the game, this is what you see:
enter image description here
Ignoring the overflow problem, we can see the menu that I want to keep between navigations, but, when I actually Navigate to another class, the menu doesn't stay,
this is the way I make all the classes:
enter image description here
im really new to flutter so I dont know where to start looking for the problem, I guess the way I make the classes overwrite the initial builder and send just the class body, ignoring the PersistentWidget I made, but I really really dont know
I tried changing the builder, the context in all the classes, but I really dont know where the problem is

Flutter create a passowrd rules dialog

at the moment i try to revised my password textfield.
I'm adding passwort rules.
For Example the password must allways 8 letters length...
Now i want a dialog for more useful information for the user.
I found in the internet a nice example.
Here the example:
My problem, i don't know how i can create this dialog in flutter.
I found the alertDialog in internet, but the background changes and the dialog close after the user klick on screen.
Here a emxample from AlertDialog:
Anyone have a idea how i can create a dialog like the first example.
The dialog should always visible.
Also if the user klick on screen.
But it should also allow the user to edit the textfield.
Many thx (:
I think the easiest way is to toast when the user clicks on submit button you can show this or you can show in text form field error text so user gets specific text like "Enter your name".

How to centre this video pop-up

thank you for taking some time to reply.
I need help to create a video pop-up with a Title and a description. The user should be able to open the pop-up both by clicking the image and the title. We tried several codes for our website, but when we make the images clickable, it disrupts the whole layout. We are not coding experts, so we don't know the issue because the code worked fine outside Squarespace. Therefore, we were hoping someone could help us create a simple video pop-up with a clickable image and title.
I know it is a lot to ask; thank you for your time.

How to make my app icon on twitter appear when I attempt to log in using twitter

I would like to know how can I add my app logo on the left side of this screen showing below.
Tried changing it on the developer.twitter.com website but it didn't worked, is this via a handler?
enter image description here
I would give it some time. Sometimes it takes a while for the picture to update everywhere after updating it on developer.twitter.com

Add to cart button in Lightbox2?

I'm trying to add a PayPal "add to cart" button to my lightbox 2 gallery?? I've seen lots of trouble shooting (posted by ChrisD), however, I can't locate the actual code to get it into the lightbox. I can get it to be in my caption on the index, but the button won't go into the actual lighbox display container where I would prefer it? Any help would be greatly appreciated!! (or direct me to a link/question that answers this?)Thanks in advanced!
The Payments Standard buttons aren't meant to work within a frame or an iframe or launch an iframe. They need to launch in a window outside of your lightbox.