среда, 27 октября 2021 г.

[MacOSX] how to reset permission for Camera and Microphone in Opera

 If you don't have Opera allowed Camera permission in "Security & Privacy" settings window, run this in Terminal:

tccutil reset Camera com.operasoftware.Opera


and restart Opera

понедельник, 25 октября 2021 г.

[behat] chromedriver cannot call send on null fix

 When you have error like this:

Fatal error: Call to a member function waitForLoad() on null (Behat\Testwork\Call\Exception\FatalThrowableError

Add this into your context:

if ($this->getSession()->isStarted() === false) {

            $minkSession->start();

}