WEBUI screenshots

In the [WebUI] Take Screenshot section, it is mentioned that the path to save the screenshots should be like webui.takescreenshot(‘E\\test.jpg’). When i used the same i got an error saying the path is a directory. When i used backslash(//) it worked fine.Not sure if this is a printing mistake just wanted to bring this to your notice.