First test: Navigate Webform and additional headers?
1 post
• Page 1 of 1
First test: Navigate Webform and additional headers?
I tried a tutorial from Phalanger with a Webbrowser and it works! But now I tried to autologin to a website but I can not send additional authentification headers with the Windows Webform control. It gives me method not found! Did I miss s/th?
I looked in the documentation and Windows Webforms Navigate method takes 4 variables but it gives me always method not found!
I also tried it also with
- Code: Select all
$authData = "test@mail.com:test";
$authHeader = "Authorization: Basic " + base64_encode($authData) + "\r\n" + "User-Agent: MyUserAgent\r\n";
$this->browser->navigate($url,"",null,$authHeader);
I looked in the documentation and Windows Webforms Navigate method takes 4 variables but it gives me always method not found!
I also tried it also with
- Code: Select all
$authData = utf8_encode("test@mail.com:test");
- Phpdevpad
- Posts: 1
- Joined: August 3rd, 2015, 4:23 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests