Z
Z
Zimaell2019-05-22 14:26:06
PHP
Zimaell, 2019-05-22 14:26:06

How to install merlinthemagic (MTS)?

this tool is located on the github
https://github.com/merlinthemagic/MTS
downloaded it to the right folder, ran it as it says MtsSetup.php, indicated the path where the MTS folder is, and tried to run the code

$myUrl          = "http://www.example.com";
$windowObj      = MTS\Factories::getDevices()->getLocalHost()->getBrowser('phantomjs')->getNewWindow($myUrl);

in reply
Fatal error: Uncaught Error: Class 'MTS\Factories' not found in /var/www/html/module/test/test.php:7 Stack trace: #0 /var/www/html/s.php(21):

I've searched the search engine for this issue, but haven't found a solution.
MTS folder is in /var/www/html/module/test/
Can anyone tell me what could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question