Fallback if ref.executeScript fails.