Fix wait / wait_true by using selenium wait method

Fix #234