Download the PHP package shimabox/screru without Composer

On this page you can find all versions of the php package shimabox/screru. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
shimabox/screru
Rate from 1 - 5
Rated 1.00 based on 1 reviews

Informations about the package screru

Screru

Screru is a library that supplements php-webdriver

License Build Status Maintainability Coverage Status Latest Stable Version Latest Unstable Version

Description

Screru is a library that supplements php-webdriver. It provides the following functions.

Supports Firefox (WebDriverBrowserType::FIREFOX), Chrome (WebDriverBrowserType::CHROME) and IE (WebDriverBrowserType::IE).

Demo

demo

Requirements

Installation

Via composer.

Develop.

Setting (.env | .env.default)

If you need to change the default settings, copy the .env.default file, create an .env file, and modify the .env file.
The default setting looks at .env.default file.

Key Description Default Example
SELENIUM_SERVER_URL selenium server url. http://localhost:4444/wd/hub
OVERRIDE_DEFAULT_USER_AGENT you can override the default User-agent. Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
LOCAL_PORT local port
It is for unittest.
8000
ENABLED_CHROME_DRIVER If true it will enable ChromeDriver. true
ENABLED_FIREFOX_DRIVER If true it will enable geckodriver. true
ENABLED_IE_DRIVER If true it will enable IEDriverServer. blank(false)
ENABLED_CHROME_HEADLESS true to start headless chrome. true
ENABLED_FIREFOX_HEADLESS true to start headless firefox. true
IS_PLATFORM_WINDOWS true to platform is windows.
For windows, be sure to set to true.
blank(false)
CHROME_DRIVER_PATH Describe the webdriver path if necessary. blank /home/user/screru/chromedriver
FIREFOX_DRIVER_PATH Describe the webdriver path if necessary. blank /Applications/MAMP/htdocs/screru/geckodriver
IE_DRIVER_PATH Describe the webdriver path if necessary. blank /c/xampp/htdocs/screru/IEDriverServer.exe

Preparation

Download selenium-server-standalone, ChromeDriver, geckodriver, IEDriverServer etc.

Platform selenium-server-standalone ChromeDriver geckodriver IEDriverServer
Mac 3.8.1 81.0.4044.69 0.26.0 -
Windows(64bit) 3.8.1 75.0.3770.90 0.24.0 3.141.59
Linux(CentOS 6.9) 3.8.1 - 0.24.0 -
Linux(Ubuntu trusty) 3.8.1 75.0.3770.90 0.24.0 -

Use downloader.

@see selenium-downloader/README.md at master · shimabox/selenium-downloader · GitHub

macOS

e.g)

Run selenium-server-standalone.

windows(64bit)

.env

The value of IS_PLATFORM_WINDOWS must be set to true.

Run selenium-server-standalone.

Note.

When this error is displayed, please refer to the following link.

It is solved by setting the security mode of IE Internet option to ON in all zones.

Linux (CentOS 6.9)

java

Firefox

or

Xvfb

Path

e.g)

.env

Run selenium-server-standalone.

  1. Run Xvfb & selenium-server-standalone

  2. Stop Xvfb & selenium-server-standalone & geckodriver

Linux (Ubuntu trusty)

Please refer to this setting.

Usage

Headless Chrome

For the latest chrome, you can use headless mode.

Headless Firefox

For the latest firefox, you can use headless mode.

Example

Testing

Start PHP's built-in Web Server.

Match port with .env - LOCAL_PORT.

Run test.

License

The MIT License (MIT). Please see License File for more information.


All versions of screru with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6 || ~7.0
facebook/webdriver Version ^1.7
vlucas/phpdotenv Version ^2.4
shimabox/url-status Version ^1.0
shimabox/selenium-downloader Version ~0.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shimabox/screru contains the following files

Loading the files please wait ....