package com.example.client.browser;

import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(namespace = JsPackage.GLOBAL, name = "document", isNative = true)
public class Document {

	public native static Element getElementById(String id);

}

@@ -265,10 +265,151 @@
 g id);%0A%0A
+%09public native static Element querySelector(String selectors);%0A%0A%09public native static NodeList%3CElement%3E querySelectorAll(String selectors);%0A%0A
 %7D%0A

Add querySelector and querySelectorAll