Skip to content

Basic Auth (htaccess) via acceptPopup #1955

Description

@testracer

Hi, I try to have questions which helps :)
i`m driving an CodeceptJS with WebriverIO, to learn IT

What are you trying to achieve?

  1. I want to Send Alert Text to an alert-window (as htaccesslogin) + accept this Popup-Window
    (inspite of using basic-auth embedded in url via @ would be an working solution)
    accept0

What I figured out is:

I have 2 questions:

(?) Why I can not find #sendAlertText in my JS-Ide ?
accept

  • and #acceptAlert also not

(?) And but why the hell my Ide knows (makes suggetions) for this method: acceptPopup
and all the other codecept methods. From where my Ide (visu studio code) is knowing them? How?!

I ask this stupid questions because I think I need in my test:
I.sendAlertText('user_string');
I.pressKey('Tab');
I.sendAlertText('pwd_string');
I.acceptAlert();

Thnx for any message!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions