finished basic tab action
update a new way to test if the page is loading