Improvements are welcome!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Roxie Film Center | |
San Francisco Centre | |
AMC Metreon 16 | |
Alamo Drafthouse New Mission | |
AMC Van Ness 14 | |
Marina Theatre | |
Presidio Theatre | |
CinéArts Empire | |
4-Star Theatre | |
United Artists Stonestown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$timeToFail = time() + $this->config['time_tolerance']; | |
$el = null; | |
while(!$this->timeToleranceReached($timeToFail) && !$el){ | |
$page = $this->session->getPage(); | |
$el = null; | |
try { | |
\Symfony\Component\CssSelector\CssSelector::toXPath($selector); | |
$el = $page->find('css', $selector); | |
} catch (\Symfony\Component\CssSelector\Exception\ParseException $e) {} |