Add many more selenium directives.

Refactoring around selenium directives, adding a lot more of them.

Adding a method to attach additional regexp to a directive