So I got this problem when I want to use Firefox as the driver. This problem has ever been asked in here in Stackoverflow and I think the problem is because mismatch version between Firefox and Geckodriver. I think we can't use latest version in Firefox installation.