Fix ratio rendering

fixing issue #123 
Maybe cssContainingText() can be used there or xpath().