support context nodes and ignore selector
fix failing test on ipad
improve xpath context and test