Remove innerPageSelector and fix element search on HTML content