Answer the question
In order to leave comments, you need to log in
How to use codeception in PHP?
After looking at the examples of using codeception, I did not understand how to use it in the code, for example, that phantom
require '/vendor/autoload.php';
$browserObj=\MTS\Factories::getDevices()->getLocalHost()->getBrowser('phantomjs');
$browserObj->setKeepalive(true);
$windowObj=$browserObj->getNewWindow();
$windowObj->setUserAgent($user_agent);
$windowObj->setUrl($url_login);
$content=$windowObj->getDom();
$windowObj->mouseEventOnElement("[id=ap_email]","leftclick");
$windowObj->sendKeyPresses($email);
..................
Answer the question
In order to leave comments, you need to log in
I understood the question in such a way that you want to run tests with SeleniumWebDriver on codeception. An example of launching and writing is here Selenium WebDriver tests with Codeception
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question