modified selenium-relation-joined hook