Design and implement the browser automation DSL as an external process language in Java, representing a flow of browser operations.