wait for the page to be loaded $navigation-> waitForNavigation() navigate $navigation = $page-> navigate( '') usage: $width, $height - see also Page::setViewport ![]() User agent to use for the whole browser (see page api for alternative)Ĭhrome user data dir (default: a new empty dir is generated temporarily) Maximum time in seconds to wait for chrome to start ![]() usage: 127.0.0.1:8080 (authorisation with credentials does not work)ĭefault timeout (ms) for sending sync messages ![]() Set to true to keep alive the chrome instance when the script terminates Eg: Ī string (e.g "php://stdout"), or resource, or PSR-3 logger instance to print debug messagesĪrray of environment variables to pass to the process (example DISPLAY variable) Here are the options available for the browser factory: Option nameĭelay to apply between each operation for debugging purposesĪrray of flags to pass to the command line. ![]() $browser = $browserFactory-> createBrowser([
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |