introduced waitForSelector functional test helper
Merge pull request #112 from n1k0/func-test-waitforselector-helper

Introduced waitForSelector functional test helper