Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have some problem about submit from for input value is not working. #69

Open
maxca opened this issue Jun 24, 2016 · 0 comments
Open

Comments

@maxca
Copy link

maxca commented Jun 24, 2016

$mink = new Mink(array(
'samarkpage' => new Session(new GoutteDriver(new GoutteClient())),
));
$mink->setDefaultSessionName('sessionName');
$mink->getSession('sessionName')->visit($startUrl);
$mink->getSession('sessionName')->getPage()->fillField('login', 'username');
$mink->getSession('sessionName')->getPage()->fillField('password', 'password');
$mink->getSession('samarkpage')->getPage()->find('css', '.loginButton')->submit();

URL : https://api.4shared.com/web/login?returnTo=https%3A%2F%2Fapi.4shared.com%2Fv1_2%2Foauth%2Fauthorize%3Foauth_token%3D0c2b0cfc1377a442ab4fca2c645df45a

Do you have a simple implement code like this ? .
What 's wrong ? .
Can you help me please.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant