I'm trying to clear below webpage
http://www.houseoffraser.co.uk/Eliza+J+3/4+sleeve+ruched+waist+dress/165288648,default,pd.html
Stock data for each combination of colors and sizes is displayed only when a color or size is selected. In r, you can simulate this to get data.
So far I have been able to fix color and size
mcolour = toString(xpathSApply(page,'//ul[@class="colour-swatches-list toggle-panel"]//li[@title]',xmlGetAttr,"title")) size = xpathSApply(page,'//ul[@class="size-swatches-list toggle-panel"]//li[@data-size]',xmlGetAttr,"data-size")
but I'm not sure how capture levels are for a combination of colors and sizes.
Please advice!
==================================================== =========== I could not find a new method, I did not miss anything?
firefoxClass Generator for class "firefoxClass": Class fields: Name: exceptionTable javaWarMes javaDriver javaNavigate Class: matrix ANY ANY ANY Class Methods: "back", "callSuper", "close", "copy", "export", "field", "findElementByClassName", "findElementByCssSelector", "findElementById", "findElementByLinkText", "findElementByName", "findElementByPartialLinkText", "findElementByTagName", "findElementByXPath", "findElementsByClassName", "findElementsByCssSelector", "findElementsById", "findElementsByLinkText", "findElementsByName", "findElementsByPartialLinkText", "findElementsByTagName", "findElementsByXPath", "forward", "get", "getCapabilities", "getClass", "getCurrentUrl", "getPageSource", "getRefClass", "getTitle", "getVersion", "import", "initFields", "initialize", "initialize#exceptionClass", "printHtml", "refresh", "show", "show#envRefClass", "trace", "tryExc", "untrace", "usingMethods" Reference Superclasses: "exceptionClass", "envRefClass"